public static enum JavaScriptShallowParser.EJavaScriptParserStates extends java.lang.Enum<JavaScriptShallowParser.EJavaScriptParserStates>
Enum Constant and Description |
---|
ANY
Generic state, as many constructs can occur at any place.
|
BASE_JS_EXTEND
Special state used inside of the base.js extend method
|
CLOSURE_CONSTRUCTOR
Special state that is only valid in the constructor of a google closure type.
|
EXT_JS_TYPE
Special state used inside of the ext.js types.
|
IN_LAMBDA
Parses a lambda (arrow notation) construct.
|
IN_TYPE
Parsing within a type, such as a TypeScript class.
|
TOP_LEVEL
Top-level parsing state.
|
Modifier and Type | Method and Description |
---|---|
static JavaScriptShallowParser.EJavaScriptParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaScriptShallowParser.EJavaScriptParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaScriptShallowParser.EJavaScriptParserStates TOP_LEVEL
public static final JavaScriptShallowParser.EJavaScriptParserStates ANY
public static final JavaScriptShallowParser.EJavaScriptParserStates IN_TYPE
public static final JavaScriptShallowParser.EJavaScriptParserStates IN_LAMBDA
public static final JavaScriptShallowParser.EJavaScriptParserStates CLOSURE_CONSTRUCTOR
public static final JavaScriptShallowParser.EJavaScriptParserStates BASE_JS_EXTEND
public static final JavaScriptShallowParser.EJavaScriptParserStates EXT_JS_TYPE
public static JavaScriptShallowParser.EJavaScriptParserStates[] values()
for (JavaScriptShallowParser.EJavaScriptParserStates c : JavaScriptShallowParser.EJavaScriptParserStates.values()) System.out.println(c);
public static JavaScriptShallowParser.EJavaScriptParserStates valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null