public enum ParseTreeType extends Enum<ParseTreeType>
Modifier and Type | Method and Description |
---|---|
static ParseTreeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParseTreeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseTreeType PROGRAM
public static final ParseTreeType FUNCTION_DECLARATION
public static final ParseTreeType BLOCK
public static final ParseTreeType VARIABLE_STATEMENT
public static final ParseTreeType VARIABLE_DECLARATION
public static final ParseTreeType EMPTY_STATEMENT
public static final ParseTreeType EXPRESSION_STATEMENT
public static final ParseTreeType IF_STATEMENT
public static final ParseTreeType DO_WHILE_STATEMENT
public static final ParseTreeType WHILE_STATEMENT
public static final ParseTreeType FOR_IN_STATEMENT
public static final ParseTreeType FOR_STATEMENT
public static final ParseTreeType VARIABLE_DECLARATION_LIST
public static final ParseTreeType CONTINUE_STATEMENT
public static final ParseTreeType BREAK_STATEMENT
public static final ParseTreeType RETURN_STATEMENT
public static final ParseTreeType WITH_STATEMENT
public static final ParseTreeType CASE_CLAUSE
public static final ParseTreeType DEFAULT_CLAUSE
public static final ParseTreeType SWITCH_STATEMENT
public static final ParseTreeType LABELLED_STATEMENT
public static final ParseTreeType THROW_STATEMENT
public static final ParseTreeType CATCH
public static final ParseTreeType TRY_STATEMENT
public static final ParseTreeType DEBUGGER_STATEMENT
public static final ParseTreeType THIS_EXPRESSION
public static final ParseTreeType IDENTIFIER_EXPRESSION
public static final ParseTreeType LITERAL_EXPRESSION
public static final ParseTreeType ARRAY_LITERAL_EXPRESSION
public static final ParseTreeType OBJECT_LITERAL_EXPRESSION
public static final ParseTreeType COMPREHENSION
public static final ParseTreeType COMPREHENSION_IF
public static final ParseTreeType COMPREHENSION_FOR
public static final ParseTreeType GET_ACCESSOR
public static final ParseTreeType SET_ACCESSOR
public static final ParseTreeType PROPERTY_NAME_ASSIGNMENT
public static final ParseTreeType COMPUTED_PROPERTY_DEFINITION
public static final ParseTreeType COMPUTED_PROPERTY_GETTER
public static final ParseTreeType COMPUTED_PROPERTY_METHOD
public static final ParseTreeType COMPUTED_PROPERTY_SETTER
public static final ParseTreeType MISSING_PRIMARY_EXPRESSION
public static final ParseTreeType COMMA_EXPRESSION
public static final ParseTreeType BINARY_OPERATOR
public static final ParseTreeType CONDITIONAL_EXPRESSION
public static final ParseTreeType UNARY_EXPRESSION
public static final ParseTreeType POSTFIX_EXPRESSION
public static final ParseTreeType MEMBER_EXPRESSION
public static final ParseTreeType NEW_EXPRESSION
public static final ParseTreeType ARGUMENT_LIST
public static final ParseTreeType CALL_EXPRESSION
public static final ParseTreeType CLASS_DECLARATION
public static final ParseTreeType INTERFACE_DECLARATION
public static final ParseTreeType NAMESPACE_DECLARATION
public static final ParseTreeType NAMESPACE_NAME
public static final ParseTreeType ENUM_DECLARATION
public static final ParseTreeType MEMBER_LOOKUP_EXPRESSION
public static final ParseTreeType PAREN_EXPRESSION
public static final ParseTreeType FINALLY
public static final ParseTreeType SUPER_EXPRESSION
public static final ParseTreeType ARRAY_PATTERN
public static final ParseTreeType ASSIGNMENT_REST_ELEMENT
public static final ParseTreeType OBJECT_PATTERN
public static final ParseTreeType FORMAL_PARAMETER_LIST
public static final ParseTreeType SPREAD_EXPRESSION
public static final ParseTreeType NULL
public static final ParseTreeType REST_PARAMETER
public static final ParseTreeType MODULE_IMPORT
public static final ParseTreeType EXPORT_DECLARATION
public static final ParseTreeType EXPORT_SPECIFIER
public static final ParseTreeType IMPORT_DECLARATION
public static final ParseTreeType IMPORT_SPECIFIER
public static final ParseTreeType FOR_OF_STATEMENT
public static final ParseTreeType YIELD_EXPRESSION
public static final ParseTreeType DEFAULT_PARAMETER
public static final ParseTreeType TEMPLATE_LITERAL_EXPRESSION
public static final ParseTreeType TEMPLATE_LITERAL_PORTION
public static final ParseTreeType TEMPLATE_SUBSTITUTION
public static final ParseTreeType TYPE_NAME
public static final ParseTreeType TYPE_QUERY
public static final ParseTreeType TYPED_PARAMETER
public static final ParseTreeType OPTIONAL_PARAMETER
public static final ParseTreeType PARAMETERIZED_TYPE_TREE
public static final ParseTreeType ARRAY_TYPE
public static final ParseTreeType RECORD_TYPE
public static final ParseTreeType UNION_TYPE
public static final ParseTreeType FUNCTION_TYPE
public static final ParseTreeType GENERIC_TYPE_LIST
public static final ParseTreeType MEMBER_VARIABLE
public static final ParseTreeType COMPUTED_PROPERTY_MEMBER_VARIABLE
public static final ParseTreeType TYPE_ALIAS
public static final ParseTreeType AMBIENT_DECLARATION
public static final ParseTreeType INDEX_SIGNATURE
public static final ParseTreeType CALL_SIGNATURE
public static ParseTreeType[] values()
for (ParseTreeType c : ParseTreeType.values()) System.out.println(c);
public static ParseTreeType 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 © 2009–2023 Google. All rights reserved.