org.peaseplate.internal.lang
Enum Tokenizer.Type

java.lang.Object
  extended by java.lang.Enum<Tokenizer.Type>
      extended by org.peaseplate.internal.lang.Tokenizer.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Tokenizer.Type>
Enclosing class:
Tokenizer

public static enum Tokenizer.Type
extends java.lang.Enum<Tokenizer.Type>


Enum Constant Summary
ADDITIVE_OPERATOR
           
ASSIGNMENT
           
BITWISE_OPERATOR
           
CONDITIONAL_AND_OPERATOR
           
CONDITIONAL_OR_OPERATOR
           
DELEGATOR
           
EQUALITY_OPERATOR
           
ERROR
           
IDENTIFIER
           
INLINE_CONDIDION
           
INLINE_SEPARATOR
           
KEY
           
KEYWORD_FALSE
           
KEYWORD_NULL
           
KEYWORD_POP
           
KEYWORD_THIS
           
KEYWORD_TRUE
           
MULTIPLICATIVE_OPERATOR
           
NONE
           
NUMERIC
           
PARENTHESIS_CLOSE
           
PARENTHESIS_OPEN
           
QUERY_CLOSE
           
QUERY_OPEN
           
RELATIONAL_OPERATOR
           
SEPARATOR
           
SHIFT_OPERATOR
           
STRING
           
TRANSFORMER_CALL
           
UNARY_OPERATOR
           
VARIABLE
           
 
Method Summary
static Tokenizer.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Tokenizer.Type[] 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

NONE

public static final Tokenizer.Type NONE

IDENTIFIER

public static final Tokenizer.Type IDENTIFIER

VARIABLE

public static final Tokenizer.Type VARIABLE

NUMERIC

public static final Tokenizer.Type NUMERIC

STRING

public static final Tokenizer.Type STRING

KEY

public static final Tokenizer.Type KEY

KEYWORD_TRUE

public static final Tokenizer.Type KEYWORD_TRUE

KEYWORD_FALSE

public static final Tokenizer.Type KEYWORD_FALSE

KEYWORD_NULL

public static final Tokenizer.Type KEYWORD_NULL

KEYWORD_THIS

public static final Tokenizer.Type KEYWORD_THIS

KEYWORD_POP

public static final Tokenizer.Type KEYWORD_POP

DELEGATOR

public static final Tokenizer.Type DELEGATOR

SEPARATOR

public static final Tokenizer.Type SEPARATOR

UNARY_OPERATOR

public static final Tokenizer.Type UNARY_OPERATOR

MULTIPLICATIVE_OPERATOR

public static final Tokenizer.Type MULTIPLICATIVE_OPERATOR

ADDITIVE_OPERATOR

public static final Tokenizer.Type ADDITIVE_OPERATOR

SHIFT_OPERATOR

public static final Tokenizer.Type SHIFT_OPERATOR

RELATIONAL_OPERATOR

public static final Tokenizer.Type RELATIONAL_OPERATOR

EQUALITY_OPERATOR

public static final Tokenizer.Type EQUALITY_OPERATOR

BITWISE_OPERATOR

public static final Tokenizer.Type BITWISE_OPERATOR

CONDITIONAL_AND_OPERATOR

public static final Tokenizer.Type CONDITIONAL_AND_OPERATOR

CONDITIONAL_OR_OPERATOR

public static final Tokenizer.Type CONDITIONAL_OR_OPERATOR

INLINE_CONDIDION

public static final Tokenizer.Type INLINE_CONDIDION

INLINE_SEPARATOR

public static final Tokenizer.Type INLINE_SEPARATOR

ASSIGNMENT

public static final Tokenizer.Type ASSIGNMENT

PARENTHESIS_OPEN

public static final Tokenizer.Type PARENTHESIS_OPEN

PARENTHESIS_CLOSE

public static final Tokenizer.Type PARENTHESIS_CLOSE

QUERY_OPEN

public static final Tokenizer.Type QUERY_OPEN

QUERY_CLOSE

public static final Tokenizer.Type QUERY_CLOSE

TRANSFORMER_CALL

public static final Tokenizer.Type TRANSFORMER_CALL

ERROR

public static final Tokenizer.Type ERROR
Method Detail

values

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

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

valueOf

public static Tokenizer.Type 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 © 2008. All Rights Reserved.