public static enum Tree.Kind extends Enum<Tree.Kind> implements com.sonar.sslr.api.AstNodeType, org.sonar.sslr.grammar.GrammarRuleKey
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Tree> |
getAssociatedInterface() |
static Tree.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tree.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tree.Kind SCRIPT
public static final Tree.Kind EMPTY_STATEMENT
public static final Tree.Kind DEBUGGER_STATEMENT
public static final Tree.Kind VARIABLE_STATEMENT
public static final Tree.Kind VAR_DECLARATION
public static final Tree.Kind LET_DECLARATION
public static final Tree.Kind CONST_DECLARATION
public static final Tree.Kind LABELLED_STATEMENT
public static final Tree.Kind CONTINUE_STATEMENT
public static final Tree.Kind BREAK_STATEMENT
public static final Tree.Kind RETURN_STATEMENT
public static final Tree.Kind THROW_STATEMENT
public static final Tree.Kind WITH_STATEMENT
public static final Tree.Kind BLOCK
public static final Tree.Kind TRY_STATEMENT
public static final Tree.Kind CATCH_BLOCK
public static final Tree.Kind SWITCH_STATEMENT
public static final Tree.Kind CASE_CLAUSE
public static final Tree.Kind DEFAULT_CLAUSE
public static final Tree.Kind IF_STATEMENT
public static final Tree.Kind ELSE_CLAUSE
public static final Tree.Kind WHILE_STATEMENT
public static final Tree.Kind DO_WHILE_STATEMENT
public static final Tree.Kind EXPRESSION_STATEMENT
public static final Tree.Kind FOR_OF_STATEMENT
public static final Tree.Kind FOR_STATEMENT
public static final Tree.Kind FOR_IN_STATEMENT
public static final Tree.Kind IDENTIFIER
public static final Tree.Kind IDENTIFIER_REFERENCE
public static final Tree.Kind IDENTIFIER_NAME
public static final Tree.Kind BINDING_IDENTIFIER
public static final Tree.Kind LABEL_IDENTIFIER
public static final Tree.Kind NULL_LITERAL
LiteralTree
nullpublic static final Tree.Kind BOOLEAN_LITERAL
LiteralTree
booleanpublic static final Tree.Kind NUMERIC_LITERAL
LiteralTree
numericpublic static final Tree.Kind STRING_LITERAL
LiteralTree
stringpublic static final Tree.Kind REGULAR_EXPRESSION_LITERAL
LiteralTree
regexppublic static final Tree.Kind ARRAY_LITERAL
public static final Tree.Kind UNDEFINED
ExpressionTree
undefinedpublic static final Tree.Kind OBJECT_LITERAL
public static final Tree.Kind PAIR_PROPERTY
public static final Tree.Kind GENERATOR_FUNCTION_EXPRESSION
FunctionExpressionTree
function * () {}public static final Tree.Kind FUNCTION_EXPRESSION
FunctionExpressionTree
function () {}public static final Tree.Kind ARROW_FUNCTION
public static final Tree.Kind PARENTHESISED_EXPRESSION
public static final Tree.Kind THIS
LiteralTree
thispublic static final Tree.Kind SUPER
LiteralTree
superpublic static final Tree.Kind POSTFIX_INCREMENT
public static final Tree.Kind POSTFIX_DECREMENT
public static final Tree.Kind PREFIX_INCREMENT
public static final Tree.Kind PREFIX_DECREMENT
public static final Tree.Kind UNARY_PLUS
public static final Tree.Kind UNARY_MINUS
public static final Tree.Kind BITWISE_COMPLEMENT
public static final Tree.Kind LOGICAL_COMPLEMENT
public static final Tree.Kind DELETE
UnaryExpressionTree
deletepublic static final Tree.Kind VOID
UnaryExpressionTree
voidpublic static final Tree.Kind MULTIPLY
public static final Tree.Kind DIVIDE
public static final Tree.Kind REMAINDER
public static final Tree.Kind PLUS
public static final Tree.Kind MINUS
public static final Tree.Kind LEFT_SHIFT
public static final Tree.Kind RIGHT_SHIFT
public static final Tree.Kind UNSIGNED_RIGHT_SHIFT
public static final Tree.Kind RELATIONAL_IN
public static final Tree.Kind INSTANCE_OF
public static final Tree.Kind LESS_THAN
public static final Tree.Kind GREATER_THAN
public static final Tree.Kind LESS_THAN_OR_EQUAL_TO
public static final Tree.Kind GREATER_THAN_OR_EQUAL_TO
public static final Tree.Kind EQUAL_TO
public static final Tree.Kind STRICT_EQUAL_TO
public static final Tree.Kind NOT_EQUAL_TO
public static final Tree.Kind STRICT_NOT_EQUAL_TO
public static final Tree.Kind BITWISE_AND
public static final Tree.Kind BITWISE_XOR
public static final Tree.Kind BITWISE_OR
public static final Tree.Kind CONDITIONAL_AND
public static final Tree.Kind CONDITIONAL_OR
public static final Tree.Kind COMMA_OPERATOR
public static final Tree.Kind CONDITIONAL_EXPRESSION
public static final Tree.Kind ASSIGNMENT
public static final Tree.Kind MULTIPLY_ASSIGNMENT
public static final Tree.Kind DIVIDE_ASSIGNMENT
public static final Tree.Kind REMAINDER_ASSIGNMENT
public static final Tree.Kind PLUS_ASSIGNMENT
public static final Tree.Kind MINUS_ASSIGNMENT
public static final Tree.Kind LEFT_SHIFT_ASSIGNMENT
public static final Tree.Kind RIGHT_SHIFT_ASSIGNMENT
public static final Tree.Kind UNSIGNED_RIGHT_SHIFT_ASSIGNMENT
public static final Tree.Kind AND_ASSIGNMENT
public static final Tree.Kind XOR_ASSIGNMENT
public static final Tree.Kind OR_ASSIGNMENT
public static final Tree.Kind NEW_EXPRESSION
NewExpressionTree
new expressionpublic static final Tree.Kind CALL_EXPRESSION
public static final Tree.Kind NEW_SUPER
NewExpressionTree
new superpublic static final Tree.Kind DOT_MEMBER_EXPRESSION
public static final Tree.Kind BRACKET_MEMBER_EXPRESSION
public static final Tree.Kind YIELD_EXPRESSION
public static final Tree.Kind REST_ELEMENT
public static final Tree.Kind FUNCTION_DECLARATION
public static final Tree.Kind GENERATOR_DECLARATION
public static final Tree.Kind FORMAL_PARAMETER_LIST
public static final Tree.Kind TAGGED_TEMPLATE
public static final Tree.Kind ARGUMENTS
public static final Tree.Kind CLASS_EXPRESSION
public static final Tree.Kind COMPUTED_PROPERTY_NAME
public static final Tree.Kind TEMPLATE_EXPRESSION
public static final Tree.Kind TEMPLATE_LITERAL
public static final Tree.Kind TEMPLATE_CHARACTERS
public static final Tree.Kind SET_METHOD
public static final Tree.Kind GET_METHOD
public static final Tree.Kind GENERATOR_METHOD
public static final Tree.Kind METHOD
public static final Tree.Kind CLASS_DECLARATION
public static final Tree.Kind INITIALIZED_BINDING_ELEMENT
public static final Tree.Kind OBJECT_BINDING_PATTERN
public static final Tree.Kind BINDING_PROPERTY
public static final Tree.Kind ARRAY_BINDING_PATTERN
public static final Tree.Kind DEFAULT_EXPORT_DECLARATION
public static final Tree.Kind NAMED_EXPORT_DECLARATION
public static final Tree.Kind NAMESPACE_EXPORT_DECLARATION
public static final Tree.Kind FROM_CLAUSE
public static final Tree.Kind EXPORT_CLAUSE
public static final Tree.Kind EXPORT_LIST
public static final Tree.Kind IMPORT_LIST
public static final Tree.Kind NAMED_IMPORTS
public static final Tree.Kind EXPORT_SPECIFIER
public static final Tree.Kind IMPORT_SPECIFIER
public static final Tree.Kind NAMESPACE_IMPORT_SPECIFIER
public static final Tree.Kind IMPORT_DECLARATION
public static final Tree.Kind IMPORT_MODULE_DECLARATION
public static final Tree.Kind MODULE
public static final Tree.Kind IMPORT_CLAUSE
public static final Tree.Kind TYPEOF
public static final Tree.Kind TOKEN
public static final Tree.Kind TRIVIA
public static Tree.Kind[] values()
for (Tree.Kind c : Tree.Kind.values()) System.out.println(c);
public static Tree.Kind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.