public static enum RubyLexer.LexState extends Enum<RubyLexer.LexState>
Enum Constant and Description |
---|
EXPR_ARG |
EXPR_BEG |
EXPR_CLASS |
EXPR_CMDARG |
EXPR_DOT |
EXPR_END |
EXPR_ENDARG |
EXPR_ENDFN |
EXPR_FNAME |
EXPR_LABELARG |
EXPR_MID |
EXPR_VALUE |
Modifier and Type | Method and Description |
---|---|
static RubyLexer.LexState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RubyLexer.LexState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RubyLexer.LexState EXPR_BEG
public static final RubyLexer.LexState EXPR_END
public static final RubyLexer.LexState EXPR_ARG
public static final RubyLexer.LexState EXPR_CMDARG
public static final RubyLexer.LexState EXPR_ENDARG
public static final RubyLexer.LexState EXPR_MID
public static final RubyLexer.LexState EXPR_FNAME
public static final RubyLexer.LexState EXPR_DOT
public static final RubyLexer.LexState EXPR_CLASS
public static final RubyLexer.LexState EXPR_VALUE
public static final RubyLexer.LexState EXPR_ENDFN
public static final RubyLexer.LexState EXPR_LABELARG
public static RubyLexer.LexState[] values()
for (RubyLexer.LexState c : RubyLexer.LexState.values()) System.out.println(c);
public static RubyLexer.LexState 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 © 2001-2015 JRuby. All Rights Reserved.