public static enum MatlabShallowParser.EMatlabParserStates extends java.lang.Enum<MatlabShallowParser.EMatlabParserStates>
Enum Constant and Description |
---|
IN_CLASSDEF
Inside a class definition.
|
IN_ENUMERATION
Inside a enumeration section.
|
IN_EVENTS
Inside a events section.
|
IN_METHOD
Inside a method's body.
|
IN_METHODS
Inside a methods section.
|
IN_PROPERTIES
Inside a properties section.
|
IN_SWITCH
Inside a switch block.
|
TOP_LEVEL
Top-level state.
|
Modifier and Type | Method and Description |
---|---|
static MatlabShallowParser.EMatlabParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatlabShallowParser.EMatlabParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatlabShallowParser.EMatlabParserStates TOP_LEVEL
public static final MatlabShallowParser.EMatlabParserStates IN_CLASSDEF
public static final MatlabShallowParser.EMatlabParserStates IN_PROPERTIES
public static final MatlabShallowParser.EMatlabParserStates IN_EVENTS
public static final MatlabShallowParser.EMatlabParserStates IN_ENUMERATION
public static final MatlabShallowParser.EMatlabParserStates IN_METHODS
public static final MatlabShallowParser.EMatlabParserStates IN_METHOD
public static final MatlabShallowParser.EMatlabParserStates IN_SWITCH
public static MatlabShallowParser.EMatlabParserStates[] values()
for (MatlabShallowParser.EMatlabParserStates c : MatlabShallowParser.EMatlabParserStates.values()) System.out.println(c);
public static MatlabShallowParser.EMatlabParserStates 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