org.jruby.lexer.yacc
Enum SyntaxException.PID

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

public static enum SyntaxException.PID
extends java.lang.Enum<SyntaxException.PID>


Enum Constant Summary
BAD_HEX_NUMBER
           
BAD_IDENTIFIER
           
BAD_OCTAL_DIGIT
           
BLOCK_ARG_AND_BLOCK_GIVEN
           
BLOCK_ARG_UNEXPECTED
           
CANNOT_CHANGE_SELF
           
CHARACTER_BAD
           
CVAR_BAD_NAME
           
DUBY_EXTENSIONS_OFF
           
DYNAMIC_CONSTANT_ASSIGNMENT
           
EMPTY_BINARY_NUMBER
           
FLOAT_MISSING_ZERO
           
GRAMMAR_ERROR
           
INCOMPLETE_CHAR_SYNTAX
           
INVALID_ASSIGNMENT
           
INVALID_ESCAPE_SYNTAX
           
IVAR_BAD_NAME
           
MULTIPLE_ASSIGNMENT_IN_CONDITIONAL
           
REGEXP_UNKNOWN_OPTION
           
STRING_HITS_EOF
           
STRING_MARKER_MISSING
           
STRING_UNKNOWN_TYPE
           
TRAILING_UNDERSCORE_IN_NUMBER
           
 
Method Summary
 java.lang.String getID()
           
static SyntaxException.PID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SyntaxException.PID[] 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

BAD_HEX_NUMBER

public static final SyntaxException.PID BAD_HEX_NUMBER

BAD_IDENTIFIER

public static final SyntaxException.PID BAD_IDENTIFIER

BAD_OCTAL_DIGIT

public static final SyntaxException.PID BAD_OCTAL_DIGIT

BLOCK_ARG_UNEXPECTED

public static final SyntaxException.PID BLOCK_ARG_UNEXPECTED

BLOCK_ARG_AND_BLOCK_GIVEN

public static final SyntaxException.PID BLOCK_ARG_AND_BLOCK_GIVEN

CHARACTER_BAD

public static final SyntaxException.PID CHARACTER_BAD

CANNOT_CHANGE_SELF

public static final SyntaxException.PID CANNOT_CHANGE_SELF

CVAR_BAD_NAME

public static final SyntaxException.PID CVAR_BAD_NAME

DYNAMIC_CONSTANT_ASSIGNMENT

public static final SyntaxException.PID DYNAMIC_CONSTANT_ASSIGNMENT

EMPTY_BINARY_NUMBER

public static final SyntaxException.PID EMPTY_BINARY_NUMBER

FLOAT_MISSING_ZERO

public static final SyntaxException.PID FLOAT_MISSING_ZERO

GRAMMAR_ERROR

public static final SyntaxException.PID GRAMMAR_ERROR

INCOMPLETE_CHAR_SYNTAX

public static final SyntaxException.PID INCOMPLETE_CHAR_SYNTAX

INVALID_ASSIGNMENT

public static final SyntaxException.PID INVALID_ASSIGNMENT

INVALID_ESCAPE_SYNTAX

public static final SyntaxException.PID INVALID_ESCAPE_SYNTAX

IVAR_BAD_NAME

public static final SyntaxException.PID IVAR_BAD_NAME

MULTIPLE_ASSIGNMENT_IN_CONDITIONAL

public static final SyntaxException.PID MULTIPLE_ASSIGNMENT_IN_CONDITIONAL

REGEXP_UNKNOWN_OPTION

public static final SyntaxException.PID REGEXP_UNKNOWN_OPTION

STRING_HITS_EOF

public static final SyntaxException.PID STRING_HITS_EOF

STRING_MARKER_MISSING

public static final SyntaxException.PID STRING_MARKER_MISSING

STRING_UNKNOWN_TYPE

public static final SyntaxException.PID STRING_UNKNOWN_TYPE

TRAILING_UNDERSCORE_IN_NUMBER

public static final SyntaxException.PID TRAILING_UNDERSCORE_IN_NUMBER

DUBY_EXTENSIONS_OFF

public static final SyntaxException.PID DUBY_EXTENSIONS_OFF
Method Detail

values

public static SyntaxException.PID[] 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 (SyntaxException.PID c : SyntaxException.PID.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SyntaxException.PID 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

getID

public java.lang.String getID()


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