org.jrubyparser.lexer
Enum Lexer.Keyword
java.lang.Object
java.lang.Enum<Lexer.Keyword>
org.jrubyparser.lexer.Lexer.Keyword
- All Implemented Interfaces:
- Serializable, Comparable<Lexer.Keyword>
- Enclosing class:
- Lexer
public static enum Lexer.Keyword
- extends Enum<Lexer.Keyword>
|
Method Summary |
static Lexer.Keyword |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Lexer.Keyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
END
public static final Lexer.Keyword END
ELSE
public static final Lexer.Keyword ELSE
CASE
public static final Lexer.Keyword CASE
ENSURE
public static final Lexer.Keyword ENSURE
MODULE
public static final Lexer.Keyword MODULE
ELSIF
public static final Lexer.Keyword ELSIF
DEF
public static final Lexer.Keyword DEF
RESCUE
public static final Lexer.Keyword RESCUE
NOT
public static final Lexer.Keyword NOT
THEN
public static final Lexer.Keyword THEN
YIELD
public static final Lexer.Keyword YIELD
FOR
public static final Lexer.Keyword FOR
SELF
public static final Lexer.Keyword SELF
FALSE
public static final Lexer.Keyword FALSE
RETRY
public static final Lexer.Keyword RETRY
RETURN
public static final Lexer.Keyword RETURN
TRUE
public static final Lexer.Keyword TRUE
IF
public static final Lexer.Keyword IF
DEFINED_P
public static final Lexer.Keyword DEFINED_P
SUPER
public static final Lexer.Keyword SUPER
UNDEF
public static final Lexer.Keyword UNDEF
BREAK
public static final Lexer.Keyword BREAK
IN
public static final Lexer.Keyword IN
DO
public static final Lexer.Keyword DO
NIL
public static final Lexer.Keyword NIL
UNTIL
public static final Lexer.Keyword UNTIL
UNLESS
public static final Lexer.Keyword UNLESS
OR
public static final Lexer.Keyword OR
NEXT
public static final Lexer.Keyword NEXT
WHEN
public static final Lexer.Keyword WHEN
REDO
public static final Lexer.Keyword REDO
AND
public static final Lexer.Keyword AND
BEGIN
public static final Lexer.Keyword BEGIN
__LINE__
public static final Lexer.Keyword __LINE__
CLASS
public static final Lexer.Keyword CLASS
__FILE__
public static final Lexer.Keyword __FILE__
LEND
public static final Lexer.Keyword LEND
LBEGIN
public static final Lexer.Keyword LBEGIN
WHILE
public static final Lexer.Keyword WHILE
ALIAS
public static final Lexer.Keyword ALIAS
__ENCODING__
public static final Lexer.Keyword __ENCODING__
name
public final String name
id0
public final int id0
id1
public final int id1
state
public final Lexer.LexState state
values
public static Lexer.Keyword[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Lexer.Keyword c : Lexer.Keyword.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Lexer.Keyword valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013. All Rights Reserved.