public enum NodeKind extends Enum<NodeKind>
Enum Constant and Description |
---|
ARRAY |
ARRAY_ACCESS |
BINARY_OP |
BLOCK |
BOOLEAN |
BREAK |
CASE |
CATCH |
CONDITIONAL |
CONTINUE |
DEBUGGER |
DEFAULT |
DO |
EMPTY |
EXPR_STMT |
FOR |
FOR_IN |
FUNCTION |
IF |
INVOKE |
LABEL |
NAME_OF |
NAME_REF |
NEW |
NULL |
NUMBER |
OBJECT |
PARAMETER |
POSITION_MARKER |
POSTFIX_OP |
PREFIX_OP |
PROGRAM |
PROGRAM_FRAGMENT |
PROPERTY_INIT |
REGEXP |
RETURN |
STRING |
SWITCH |
THIS |
THROW |
TRY |
VAR |
VARS |
WHILE |
Modifier and Type | Method and Description |
---|---|
static NodeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeKind ARRAY_ACCESS
public static final NodeKind ARRAY
public static final NodeKind BINARY_OP
public static final NodeKind BLOCK
public static final NodeKind BOOLEAN
public static final NodeKind BREAK
public static final NodeKind CASE
public static final NodeKind CATCH
public static final NodeKind CONDITIONAL
public static final NodeKind CONTINUE
public static final NodeKind DEBUGGER
public static final NodeKind DEFAULT
public static final NodeKind DO
public static final NodeKind EMPTY
public static final NodeKind EXPR_STMT
public static final NodeKind FOR
public static final NodeKind FOR_IN
public static final NodeKind FUNCTION
public static final NodeKind IF
public static final NodeKind INVOKE
public static final NodeKind LABEL
public static final NodeKind NAME_REF
public static final NodeKind NAME_OF
public static final NodeKind NEW
public static final NodeKind NULL
public static final NodeKind NUMBER
public static final NodeKind OBJECT
public static final NodeKind PARAMETER
public static final NodeKind POSTFIX_OP
public static final NodeKind PREFIX_OP
public static final NodeKind PROGRAM
public static final NodeKind PROGRAM_FRAGMENT
public static final NodeKind PROPERTY_INIT
public static final NodeKind POSITION_MARKER
public static final NodeKind REGEXP
public static final NodeKind RETURN
public static final NodeKind STRING
public static final NodeKind SWITCH
public static final NodeKind THIS
public static final NodeKind THROW
public static final NodeKind TRY
public static final NodeKind VARS
public static final NodeKind VAR
public static final NodeKind WHILE
public static NodeKind[] values()
for (NodeKind c : NodeKind.values()) System.out.println(c);
public static NodeKind 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 © 2018. All rights reserved.