org.jruby.lexer.yacc
Enum RubyYaccLexer.Keyword

java.lang.Object
  extended by java.lang.Enum<RubyYaccLexer.Keyword>
      extended by org.jruby.lexer.yacc.RubyYaccLexer.Keyword
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RubyYaccLexer.Keyword>
Enclosing class:
RubyYaccLexer

public static enum RubyYaccLexer.Keyword
extends java.lang.Enum<RubyYaccLexer.Keyword>


Enum Constant Summary
__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
           
 
Field Summary
 int id0
           
 int id1
           
 java.lang.String name
           
 RubyYaccLexer.LexState state
           
 
Method Summary
static RubyYaccLexer.Keyword valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RubyYaccLexer.Keyword[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

END

public static final RubyYaccLexer.Keyword END

ELSE

public static final RubyYaccLexer.Keyword ELSE

CASE

public static final RubyYaccLexer.Keyword CASE

ENSURE

public static final RubyYaccLexer.Keyword ENSURE

MODULE

public static final RubyYaccLexer.Keyword MODULE

ELSIF

public static final RubyYaccLexer.Keyword ELSIF

DEF

public static final RubyYaccLexer.Keyword DEF

RESCUE

public static final RubyYaccLexer.Keyword RESCUE

NOT

public static final RubyYaccLexer.Keyword NOT

THEN

public static final RubyYaccLexer.Keyword THEN

YIELD

public static final RubyYaccLexer.Keyword YIELD

FOR

public static final RubyYaccLexer.Keyword FOR

SELF

public static final RubyYaccLexer.Keyword SELF

FALSE

public static final RubyYaccLexer.Keyword FALSE

RETRY

public static final RubyYaccLexer.Keyword RETRY

RETURN

public static final RubyYaccLexer.Keyword RETURN

TRUE

public static final RubyYaccLexer.Keyword TRUE

IF

public static final RubyYaccLexer.Keyword IF

DEFINED_P

public static final RubyYaccLexer.Keyword DEFINED_P

SUPER

public static final RubyYaccLexer.Keyword SUPER

UNDEF

public static final RubyYaccLexer.Keyword UNDEF

BREAK

public static final RubyYaccLexer.Keyword BREAK

IN

public static final RubyYaccLexer.Keyword IN

DO

public static final RubyYaccLexer.Keyword DO

NIL

public static final RubyYaccLexer.Keyword NIL

UNTIL

public static final RubyYaccLexer.Keyword UNTIL

UNLESS

public static final RubyYaccLexer.Keyword UNLESS

OR

public static final RubyYaccLexer.Keyword OR

NEXT

public static final RubyYaccLexer.Keyword NEXT

WHEN

public static final RubyYaccLexer.Keyword WHEN

REDO

public static final RubyYaccLexer.Keyword REDO

AND

public static final RubyYaccLexer.Keyword AND

BEGIN

public static final RubyYaccLexer.Keyword BEGIN

__LINE__

public static final RubyYaccLexer.Keyword __LINE__

CLASS

public static final RubyYaccLexer.Keyword CLASS

__FILE__

public static final RubyYaccLexer.Keyword __FILE__

LEND

public static final RubyYaccLexer.Keyword LEND

LBEGIN

public static final RubyYaccLexer.Keyword LBEGIN

WHILE

public static final RubyYaccLexer.Keyword WHILE

ALIAS

public static final RubyYaccLexer.Keyword ALIAS
Field Detail

name

public final java.lang.String name

id0

public final int id0

id1

public final int id1

state

public final RubyYaccLexer.LexState state
Method Detail

values

public static RubyYaccLexer.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 (RubyYaccLexer.Keyword c : RubyYaccLexer.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 RubyYaccLexer.Keyword valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2002-2007 JRuby Team. All Rights Reserved.