public static enum RubyLexer.Keyword extends Enum<RubyLexer.Keyword>
Enum Constant and Description |
---|
__ENCODING__ |
__FILE__ |
__LINE__ |
ALIAS |
AND |
BEGIN |
BREAK |
CASE |
CLASS |
DEF |
DEFINED_P |
DO |
ELSE |
ELSIF |
END |
ENSURE |
FALSE |
FOR |
IF |
IN |
LBEGIN |
LEND |
MODULE |
NEXT |
NIL |
NOT |
OR |
REDO |
RESCUE |
RETRY |
RETURN |
SELF |
SUPER |
THEN |
TRUE |
UNDEF |
UNLESS |
UNTIL |
WHEN |
WHILE |
YIELD |
Modifier and Type | Field and Description |
---|---|
int |
id0 |
int |
id1 |
String |
name |
RubyLexer.LexState |
state |
Modifier and Type | Method and Description |
---|---|
static RubyLexer.Keyword |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RubyLexer.Keyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RubyLexer.Keyword END
public static final RubyLexer.Keyword ELSE
public static final RubyLexer.Keyword CASE
public static final RubyLexer.Keyword ENSURE
public static final RubyLexer.Keyword MODULE
public static final RubyLexer.Keyword ELSIF
public static final RubyLexer.Keyword DEF
public static final RubyLexer.Keyword RESCUE
public static final RubyLexer.Keyword NOT
public static final RubyLexer.Keyword THEN
public static final RubyLexer.Keyword YIELD
public static final RubyLexer.Keyword FOR
public static final RubyLexer.Keyword SELF
public static final RubyLexer.Keyword FALSE
public static final RubyLexer.Keyword RETRY
public static final RubyLexer.Keyword RETURN
public static final RubyLexer.Keyword TRUE
public static final RubyLexer.Keyword IF
public static final RubyLexer.Keyword DEFINED_P
public static final RubyLexer.Keyword SUPER
public static final RubyLexer.Keyword UNDEF
public static final RubyLexer.Keyword BREAK
public static final RubyLexer.Keyword IN
public static final RubyLexer.Keyword DO
public static final RubyLexer.Keyword NIL
public static final RubyLexer.Keyword UNTIL
public static final RubyLexer.Keyword UNLESS
public static final RubyLexer.Keyword OR
public static final RubyLexer.Keyword NEXT
public static final RubyLexer.Keyword WHEN
public static final RubyLexer.Keyword REDO
public static final RubyLexer.Keyword AND
public static final RubyLexer.Keyword BEGIN
public static final RubyLexer.Keyword __LINE__
public static final RubyLexer.Keyword CLASS
public static final RubyLexer.Keyword __FILE__
public static final RubyLexer.Keyword LEND
public static final RubyLexer.Keyword LBEGIN
public static final RubyLexer.Keyword WHILE
public static final RubyLexer.Keyword ALIAS
public static final RubyLexer.Keyword __ENCODING__
public final String name
public final int id0
public final int id1
public final RubyLexer.LexState state
public static RubyLexer.Keyword[] values()
for (RubyLexer.Keyword c : RubyLexer.Keyword.values()) System.out.println(c);
public static RubyLexer.Keyword 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.