oracle.javatools.parser.java.v2
Interface JavaOperators
- All Superinterfaces:
- JavaTokens
- All Known Subinterfaces:
- JavaConstants
- All Known Implementing Classes:
- AbstractAnnotation, AbstractClass, AbstractElement, AbstractField, AbstractMethod, AbstractPackage, AbstractType, AbstractVariable, AnnotationElementValueInsightDataItem, AnnotationFilter, BaseFileProvider.BaseClass, BaseFileProvider.BasePackage, BindingRegistry, CallerContext, CastedMethod, ClassHierarchy, oracle.javatools.parser.java.v2.classfile.ClClass, CommonUtilities, Conversions, oracle.jdevimpl.java.insight.InsightDataItem, oracle.javatools.parser.java.v2.internal.InternalUtilities, LexerLiteral, LexerUtilities, MethodHierarchy, NullProvider, PrimitiveType, QuickComponent, QuickHasName, QuickHasType, QuickLocalVariable, QuickMethod, QuickSignatureParser, SignatureHasType, SignatureParser, SimplifyTypeHelper, SourceFactory, SourceVisitor, oracle.javatools.parser.java.v2.internal.symbol.Sym.SymTraversal, oracle.javatools.parser.java.v2.internal.symbol.SymUtilities, Value, oracle.jdevimpl.java.insight.WrappedInsightDataItem, WrapperClass, WrapperField, WrapperLocalVariable, WrapperMethod, WrapperPackage
public interface JavaOperators
- extends JavaTokens
All expression-related constant values used by the java
parser/compiler.
Fields inherited from interface oracle.javatools.parser.java.v2.JavaTokens |
DW_values, DW_words, J2SE_13, J2SE_14, J2SE_15, J2SE_16, J2SE_17, J2SE_MAX, J2SE_MIN, KW_ABSTRACT, KW_ASSERT, KW_base, KW_BOOLEAN, KW_BREAK, KW_BYTE, KW_CASE, KW_CATCH, KW_CHAR, KW_CLASS, KW_CONST, KW_CONTINUE, KW_DEFAULT, KW_DO, KW_DOUBLE, KW_ELSE, KW_ENUM, KW_EXTENDS, KW_FINAL, KW_FINALLY, KW_FLOAT, KW_FOR, KW_GOTO, KW_IF, KW_IMPLEMENTS, KW_IMPORT, KW_INSTANCEOF, KW_INT, KW_INTERFACE, KW_j2se13_max, KW_j2se14_max, KW_j2se15_max, KW_j2se16_max, KW_LONG, KW_max, KW_NATIVE, KW_NEW, KW_PACKAGE, KW_PRIVATE, KW_PROTECTED, KW_PUBLIC, KW_RETURN, KW_SHORT, KW_STATIC, KW_STRICTFP, KW_SUPER, KW_SWITCH, KW_SYNCHRONIZED, KW_THIS, KW_THROW, KW_THROWS, KW_TRANSIENT, KW_TRY, KW_VOID, KW_VOLATILE, KW_WHILE, KW_words, OP_AND_ASG, OP_ASG, OP_AT, OP_base, OP_BINAND, OP_binary, OP_BINNOT, OP_BINOR, OP_BINXOR, OP_COLON, OP_COMMA, OP_DEC, OP_DIV, OP_DIV_ASG, OP_DOT, OP_ELLIPSIS, OP_EQ, OP_GE, OP_GT, OP_HASH, OP_INC, OP_LBRACE, OP_LBRACKET, OP_LE, OP_LOGAND, OP_LOGNOT, OP_LOGOR, OP_LPAREN, OP_LSH, OP_LSH_ASG, OP_LT, OP_max, OP_MINUS, OP_MINUS_ASG, OP_MOD, OP_MOD_ASG, OP_MUL, OP_MUL_ASG, OP_NE, OP_OR_ASG, OP_PLUS, OP_PLUS_ASG, OP_prefix, OP_QUES, OP_RBRACE, OP_RBRACKET, OP_RPAREN, OP_RSH, OP_RSH_ASG, OP_SEMI, OP_URSH, OP_URSH_ASG, OP_words, OP_XOR_ASG, TK_BOOLEAN_LITERAL, TK_CHAR_LITERAL, TK_DOC_COMMENT, TK_DOUBLE_LITERAL, TK_EOF, TK_FLOAT_LITERAL, TK_IDENTIFIER, TK_INT_LITERAL, TK_LITERAL_base, TK_LITERAL_max, TK_LONG_LITERAL, TK_max, TK_MULTI_COMMENT, TK_NULL_LITERAL, TK_SINGLE_COMMENT, TK_SQLJ, TK_STRING_LITERAL, TK_WHITESPACE |
OPT_invalid
static final byte OPT_invalid
- See Also:
- Constant Field Values
OPT_base
static final byte OPT_base
- See Also:
- Constant Field Values
OPT_ADD
static final byte OPT_ADD
- Arithmetic addition or string concatenation. 2+ operands.
SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_ADDASG
static final byte OPT_ADDASG
- Arithmetic addition or string concatenation assignment. 2
operands. SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_AND
static final byte OPT_AND
- Conditional (logical) AND. 2+ operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_ANNOTATION
static final byte OPT_ANNOTATION
- Annotation expression. 0 operands. SourceAnnotationExpression.
- See Also:
- Constant Field Values
OPT_ARRAYCONST
static final byte OPT_ARRAYCONST
- An array constant. 0+ operands. This is EXPR_OPERATOR rather
than EXPR_LITERAL because this is not a lexer literal.
SourceListExpression.
- See Also:
- Constant Field Values
OPT_ASG
static final byte OPT_ASG
- Assignment. 2 operands. SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_BITAND
static final byte OPT_BITAND
- Bitwise AND. 2+ operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_BITANDASG
static final byte OPT_BITANDASG
- Bitwise AND assignment. 2 operands. SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_BITNOT
static final byte OPT_BITNOT
- Bitwise NOT (negation or complement). 1 operand.
SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_BITOR
static final byte OPT_BITOR
- Bitwise OR. 2+ operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_BITORASG
static final byte OPT_BITORASG
- Bitwise OR assignment. 2 operands. SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_BITXOR
static final byte OPT_BITXOR
- Bitwise XOR. 2+ operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_BITXORASG
static final byte OPT_BITXORASG
- Bitwise XOR assignment. 2 operands. SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_CLASS_LITERAL
static final byte OPT_CLASS_LITERAL
- A class literal. 1 operand. SourceUnaryExpression. Operand is an
EXPR_TYPE. Despite the name, this is not a lexical literal. We
call it a class literal because that's what the JLS calls it. You
ask them.
- See Also:
- Constant Field Values
OPT_COND
static final byte OPT_COND
- Conditional operator (?:). 3 operands.
SourceQuestionExpression.
- See Also:
- Constant Field Values
OPT_DEREF
static final byte OPT_DEREF
- Array dereference. 2 operands. SourceArrayAccessExpression. 1st
is the expression lhs. 2nd is OPT_LIST with one operand
per array dereference.
- See Also:
- Constant Field Values
OPT_DIV
static final byte OPT_DIV
- Arithmetic division. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_DIVASG
static final byte OPT_DIVASG
- Arithmetic division assignment. 2 operands.
SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_DOT
static final byte OPT_DOT
- Dot dereference. 1 operand. SourceDotExpression.
- See Also:
- Constant Field Values
OPT_EQ
static final byte OPT_EQ
- Equal. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_GE
static final byte OPT_GE
- Greater than or equal to. 2 operands SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_GT
static final byte OPT_GT
- Greater than. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_INSTANCEOF
static final byte OPT_INSTANCEOF
- Instanceof. 2 operands. SourceInfixExpression. 2nd is an
EXPR_TYPE.
- See Also:
- Constant Field Values
OPT_INVOKE
static final byte OPT_INVOKE
- Method invocation. 1, 2, or 3 operands.
SourceMethodCallExpression. If 1, the operand is the OPT_LIST
arguments. If 2, the 1st operand is the lhs and the 2nd is the
OPT_LIST arguments. If 3, the 1st operand is the lhs, the 2nd is
the type arguments, and the 3rd is the OPT_LIST arguments. In
all cases, the last operand is the OPT_LIST arguments.
- See Also:
- Constant Field Values
OPT_LE
static final byte OPT_LE
- Less than or equal to. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_LIST
static final byte OPT_LIST
- A list of operands. 0+ operands. SourceListExpression.
- See Also:
- Constant Field Values
OPT_LITERAL
static final byte OPT_LITERAL
- Lexical literal. 0 operands. SourceLiteralExpression.
- See Also:
- Constant Field Values
OPT_LSH
static final byte OPT_LSH
- Bitwise left shift. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_LSHASG
static final byte OPT_LSHASG
- Bitwise left shift assignment. 2 operands. SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_LT
static final byte OPT_LT
- Less than. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_MINUS
static final byte OPT_MINUS
- Arithmetic subtraction. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_MINUSASG
static final byte OPT_MINUSASG
- Arithmetic subtraction assignment. 2 operands.
SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_MOD
static final byte OPT_MOD
- Arithmetic remainder (modulus). 2 operands.
SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_MODASG
static final byte OPT_MODASG
- Arithmetic remainder (modulus) assignment. 2 operands.
SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_MUL
static final byte OPT_MUL
- Arithmetic multiplication. 2+ operands.
SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_MULASG
static final byte OPT_MULASG
- Arithmetic multiplication assignment. 2 operands.
SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_NEGATIVE
static final byte OPT_NEGATIVE
- Arithmetic negative prefix. 1 operand. SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_NESTEXP
static final byte OPT_NESTEXP
- Nested expression (in parentheses or brackets). 1 operand.
SourceWrapperExpression.
- See Also:
- Constant Field Values
OPT_NEWARRAY
static final byte OPT_NEWARRAY
- Array creator. 1 operand. SourceNewArrayExpression. If
operand is an OPT_LIST, then this is an uninitialized array
creator. Else the operand is an OPT_ARRAYCONST and this is an
initialized array creator. The type involves a special getter.
- See Also:
- Constant Field Values
OPT_NEWOBJECT
static final byte OPT_NEWOBJECT
- Class creator. 1 or 2 operands. SourceNewClassExpression.
If 2, the 1st operand is the lhs of an inner class creator. The
last operand is an OPT_LIST for the arguments. The type involves
a special getter. The class body involves a special getter.
- See Also:
- Constant Field Values
OPT_NOT
static final byte OPT_NOT
- Logical NOT (negation or complement). 1 operand.
SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_NOTEQ
static final byte OPT_NOTEQ
- Not-equal. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_OR
static final byte OPT_OR
- Conditional (logical) OR. 2+ operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_POSITIVE
static final byte OPT_POSITIVE
- Arithmetic positive prefix. 1 operand. SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_POSTDEC
static final byte OPT_POSTDEC
- Decrement postfix. 1 operand. SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_POSTINC
static final byte OPT_POSTINC
- Increment postfix. 1 operand. SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_PREDEC
static final byte OPT_PREDEC
- Decrement prefix. 1 operand. SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_PREINC
static final byte OPT_PREINC
- Increment prefix. 1 operand. SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_QUALIFIED_SUPER
static final byte OPT_QUALIFIED_SUPER
- Qualified super. 1 operand. Operand is an EXPR_TYPE.
SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_QUALIFIED_THIS
static final byte OPT_QUALIFIED_THIS
- Qualified this. 1 operand. Operand is an EXPR_TYPE.
SourceUnaryExpression.
- See Also:
- Constant Field Values
OPT_RSH
static final byte OPT_RSH
- Bitwise signed right shift. 2 operands. SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_RSHASG
static final byte OPT_RSHASG
- Bitwise signed right shift assignment. 2 operands.
SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_SIMPLE_NAME
static final byte OPT_SIMPLE_NAME
- Simple name. 0 operands. SourceSimpleNameExpression.
- See Also:
- Constant Field Values
OPT_TYPE
static final byte OPT_TYPE
- Type expression. 0 operands. SourceTypeExpression.
- See Also:
- Constant Field Values
OPT_TYPECAST
static final byte OPT_TYPECAST
- Typecast. 2 operands. 1st is an EXPR_TYPE.
SourceTypecastExpression.
- See Also:
- Constant Field Values
OPT_URSH
static final byte OPT_URSH
- Bitwise unsigned right shift. 2 operands.
SourceInfixExpression.
- See Also:
- Constant Field Values
OPT_URSHASG
static final byte OPT_URSHASG
- Bitwise unsigned right shift assignment. 2 operands.
SourceAssignmentExpression.
- See Also:
- Constant Field Values
OPT_max
static final byte OPT_max
- See Also:
- Constant Field Values
OPT_tokens
static final short[] OPT_tokens
- [ 0 ] is for OPT_base.
OPT_precedence
static final byte[] OPT_precedence
- For debugging. [ 0 ] is for OPT_base.
OPT_words
static final java.lang.String[] OPT_words
- For debugging. [ 0 ] is for OPT_base.
Copyright © 1997, 2011, Oracle. All rights reserved.