- All Implemented Interfaces:
Serializable,Comparable<Tree.Kind>,Constable
- Enclosing interface:
- Tree
@Deprecated(since="11", forRemoval=true) public static enum Tree.Kind extends Enum<Tree.Kind>
Deprecated, for removal: This API element is subject to removal in a future version.
Nashorn JavaScript script engine and APIs, and the jjs tool
are deprecated with the intent to remove them in a future release.
Enumerates all kinds of trees.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting bitwise and logical "and"&.AND_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "and" assignment&=.ARRAY_ACCESSDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofArrayAccessTree.ARRAY_LITERALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofArrayLiteralTree.ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofAssignmentTree.BITWISE_COMPLEMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting bitwise complement operator~.BLOCKDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBlockTree.BOOLEAN_LITERALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLiteralTreerepresenting a boolean literal expression of typeboolean.BREAKDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBreakTree.CASEDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCaseTree.CATCHDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCatchTree.CLASSDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofClassDeclarationTree.CLASS_EXPRESSIONDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofClassExpressionTree.COMMADeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting comma,.COMPILATION_UNITDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompilationUnitTree.CONDITIONAL_ANDDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting conditional-and&&.CONDITIONAL_EXPRESSIONDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofConditionalExpressionTree.CONDITIONAL_ORDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting conditional-or||.CONTINUEDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofContinueTree.DEBUGGERDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofDebuggerTree.DELETEDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting logical delete operatordelete.DIVIDEDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting division/.DIVIDE_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting division assignment/=.DO_WHILE_LOOPDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofDoWhileLoopTree.EMPTY_STATEMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofEmptyStatementTree.EQUAL_TODeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting equal-to==.ERRORDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofErroneousTree.EXPORT_ENTRYDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofExportEntryTree.EXPRESSION_STATEMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofExpressionStatementTree.FOR_IN_LOOPDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofForInLoopTree.FOR_LOOPDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofForLoopTree.FUNCTIONDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofFunctionDeclarationTree.FUNCTION_EXPRESSIONDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofFunctionExpressionTree.FUNCTION_INVOCATIONDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofFunctionCallTree.GREATER_THANDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting greater-than>.GREATER_THAN_EQUALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting greater-than-equal>=.IDENTIFIERDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofIdentifierTree.IFDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofIfTree.IMPORT_ENTRYDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofImportEntryTree.INDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting in operatorin.INSTANCE_OFDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofInstanceOfTree.LABELED_STATEMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLabeledStatementTree.LEFT_SHIFTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting left shift<<.LEFT_SHIFT_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting left shift assignment<<=.LESS_THANDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting less-than<.LESS_THAN_EQUALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting less-than-equal<=.LOGICAL_COMPLEMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting logical complement operator!.MEMBER_SELECTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofMemberSelectTree.MINUSDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting subtraction-.MINUS_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting subtraction assignment-=.MODULEDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofModuleTree.MULTIPLYDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting multiplication*.MULTIPLY_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting multiplication assignment*=.NEWDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofNewTree.NOT_EQUAL_TODeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting not-equal-to!=.NULL_LITERALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLiteralTreerepresenting the use ofnull.NUMBER_LITERALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLiteralTreerepresenting a number literal expression of typedouble.OBJECT_LITERALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofObjectLiteralTree.ORDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting bitwise and logical "or"|.OR_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "or" assignment|=.OTHERDeprecated, for removal: This API element is subject to removal in a future version.An implementation-reserved node.PARENTHESIZEDDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofParenthesizedTree.PLUSDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting addition or string concatenation+.PLUS_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting addition or string concatenation assignment+=.POSTFIX_DECREMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting postfix decrement operator--.POSTFIX_INCREMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting postfix increment operator++.PREFIX_DECREMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting prefix decrement operator--.PREFIX_INCREMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting prefix increment operator++.PROPERTYDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofPropertyTree.REGEXP_LITERALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofRegExpLiteralTree.REMAINDERDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting remainder%.REMAINDER_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting remainder assignment%=.RETURNDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofReturnTree.RIGHT_SHIFTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting right shift>>.RIGHT_SHIFT_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting right shift assignment>>=.SPREADDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofSpreadTreerepresenting spread "operator" for arrays and function call arguments.STRICT_EQUAL_TODeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting equal-to===.STRICT_NOT_EQUAL_TODeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting not-equal-to!==.STRING_LITERALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLiteralTreerepresenting a string literal expression of typeString.SWITCHDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofSwitchTree.TEMPLATE_LITERALDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofTemplateLiteralTree.THROWDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofThrowTree.TRYDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofTryTree.TYPEOFDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting logical typeof operatortypeof.UNARY_MINUSDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting unary minus operator-.UNARY_PLUSDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting unary plus operator+.UNSIGNED_RIGHT_SHIFTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting unsigned right shift>>>.UNSIGNED_RIGHT_SHIFT_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting unsigned right shift assignment>>>=.VARIABLEDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofVariableTree.VOIDDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting logical void operatorvoid.WHILE_LOOPDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofWhileLoopTree.WITHDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofWithTree.XORDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting bitwise and logical "xor"^.XOR_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "xor" assignment^=.YIELDDeprecated, for removal: This API element is subject to removal in a future version.Used for instances ofYieldTreerepresenting (generator) yield expressionyield expr. -
Method Summary
Modifier and Type Method Description Class<? extends Tree>asInterface()Deprecated, for removal: This API element is subject to removal in a future version.Returns the associated interface type that uses this kind.booleanisExpression()Deprecated, for removal: This API element is subject to removal in a future version.Returns if this is an expression tree kind or not.booleanisLiteral()Deprecated, for removal: This API element is subject to removal in a future version.Returns if this is a literal tree kind or not.booleanisStatement()Deprecated, for removal: This API element is subject to removal in a future version.Returns if this is a statement tree kind or not.static Tree.KindvalueOf(String name)Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static Tree.Kind[]values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARRAY_ACCESS
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofArrayAccessTree. -
ARRAY_LITERAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofArrayLiteralTree. -
ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofAssignmentTree. -
BLOCK
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBlockTree. -
BREAK
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBreakTree. -
CLASS
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofClassDeclarationTree. -
CLASS_EXPRESSION
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofClassExpressionTree. -
CASE
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCaseTree. -
CATCH
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCatchTree. -
COMPILATION_UNIT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompilationUnitTree. -
CONDITIONAL_EXPRESSION
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofConditionalExpressionTree. -
CONTINUE
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofContinueTree. -
DO_WHILE_LOOP
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofDoWhileLoopTree. -
DEBUGGER
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofDebuggerTree. -
FOR_IN_LOOP
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofForInLoopTree. -
FUNCTION_EXPRESSION
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofFunctionExpressionTree. -
ERROR
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofErroneousTree. -
EXPRESSION_STATEMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofExpressionStatementTree. -
MEMBER_SELECT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofMemberSelectTree. -
FOR_LOOP
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofForLoopTree. -
IDENTIFIER
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofIdentifierTree. -
IF
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofIfTree. -
INSTANCE_OF
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofInstanceOfTree. -
LABELED_STATEMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLabeledStatementTree. -
MODULE
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofModuleTree. -
EXPORT_ENTRY
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofExportEntryTree. -
IMPORT_ENTRY
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofImportEntryTree. -
FUNCTION
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofFunctionDeclarationTree. -
FUNCTION_INVOCATION
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofFunctionCallTree. -
NEW
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofNewTree. -
OBJECT_LITERAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofObjectLiteralTree. -
PARENTHESIZED
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofParenthesizedTree. -
PROPERTY
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofPropertyTree. -
REGEXP_LITERAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofRegExpLiteralTree. -
TEMPLATE_LITERAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofTemplateLiteralTree. -
RETURN
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofReturnTree. -
EMPTY_STATEMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofEmptyStatementTree. -
SWITCH
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofSwitchTree. -
THROW
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofThrowTree. -
TRY
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofTryTree. -
VARIABLE
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofVariableTree. -
WHILE_LOOP
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofWhileLoopTree. -
WITH
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofWithTree. -
POSTFIX_INCREMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting postfix increment operator++. -
POSTFIX_DECREMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting postfix decrement operator--. -
PREFIX_INCREMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting prefix increment operator++. -
PREFIX_DECREMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting prefix decrement operator--. -
UNARY_PLUS
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting unary plus operator+. -
UNARY_MINUS
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting unary minus operator-. -
BITWISE_COMPLEMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting bitwise complement operator~. -
LOGICAL_COMPLEMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting logical complement operator!. -
DELETE
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting logical delete operatordelete. -
TYPEOF
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting logical typeof operatortypeof. -
VOID
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofUnaryTreerepresenting logical void operatorvoid. -
COMMA
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting comma,. -
MULTIPLY
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting multiplication*. -
DIVIDE
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting division/. -
REMAINDER
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting remainder%. -
PLUS
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting addition or string concatenation+. -
MINUS
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting subtraction-. -
LEFT_SHIFT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting left shift<<. -
RIGHT_SHIFT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting right shift>>. -
UNSIGNED_RIGHT_SHIFT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting unsigned right shift>>>. -
LESS_THAN
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting less-than<. -
GREATER_THAN
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting greater-than>. -
LESS_THAN_EQUAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting less-than-equal<=. -
GREATER_THAN_EQUAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting greater-than-equal>=. -
IN
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting in operatorin. -
EQUAL_TO
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting equal-to==. -
NOT_EQUAL_TO
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting not-equal-to!=. -
STRICT_EQUAL_TO
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting equal-to===. -
STRICT_NOT_EQUAL_TO
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting not-equal-to!==. -
AND
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting bitwise and logical "and"&. -
XOR
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting bitwise and logical "xor"^. -
OR
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting bitwise and logical "or"|. -
CONDITIONAL_AND
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting conditional-and&&. -
CONDITIONAL_OR
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofBinaryTreerepresenting conditional-or||. -
MULTIPLY_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting multiplication assignment*=. -
DIVIDE_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting division assignment/=. -
REMAINDER_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting remainder assignment%=. -
PLUS_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting addition or string concatenation assignment+=. -
MINUS_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting subtraction assignment-=. -
LEFT_SHIFT_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting left shift assignment<<=. -
RIGHT_SHIFT_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting right shift assignment>>=. -
UNSIGNED_RIGHT_SHIFT_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting unsigned right shift assignment>>>=. -
AND_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "and" assignment&=. -
XOR_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "xor" assignment^=. -
OR_ASSIGNMENT
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "or" assignment|=. -
SPREAD
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofSpreadTreerepresenting spread "operator" for arrays and function call arguments. -
YIELD
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofYieldTreerepresenting (generator) yield expressionyield expr. -
NUMBER_LITERAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLiteralTreerepresenting a number literal expression of typedouble. -
BOOLEAN_LITERAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLiteralTreerepresenting a boolean literal expression of typeboolean. -
STRING_LITERAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLiteralTreerepresenting a string literal expression of typeString. -
NULL_LITERAL
Deprecated, for removal: This API element is subject to removal in a future version.Used for instances ofLiteralTreerepresenting the use ofnull. -
OTHER
Deprecated, for removal: This API element is subject to removal in a future version.An implementation-reserved node. This is the not the node you are looking for.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
asInterface
Deprecated, for removal: This API element is subject to removal in a future version.Returns the associated interface type that uses this kind.- Returns:
- the associated interface
-
isLiteral
public boolean isLiteral()Deprecated, for removal: This API element is subject to removal in a future version.Returns if this is a literal tree kind or not.- Returns:
- true if this is a literal tree kind, false otherwise
-
isExpression
public boolean isExpression()Deprecated, for removal: This API element is subject to removal in a future version.Returns if this is an expression tree kind or not.- Returns:
- true if this is an expression tree kind, false otherwise
-
isStatement
public boolean isStatement()Deprecated, for removal: This API element is subject to removal in a future version.Returns if this is a statement tree kind or not.- Returns:
- true if this is a statement tree kind, false otherwise
-