org.quattor.pan.parser
Enum ASTStatement.StatementType

java.lang.Object
  extended by java.lang.Enum<ASTStatement.StatementType>
      extended by org.quattor.pan.parser.ASTStatement.StatementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ASTStatement.StatementType>
Enclosing class:
ASTStatement

public static enum ASTStatement.StatementType
extends java.lang.Enum<ASTStatement.StatementType>


Enum Constant Summary
ASSIGN
           
BIND
           
FUNCTION
           
INCLUDE
           
NOOP
           
PREFIX
           
TYPE
           
VARIABLE
           
 
Method Summary
static ASTStatement.StatementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ASTStatement.StatementType[] 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

NOOP

public static final ASTStatement.StatementType NOOP

BIND

public static final ASTStatement.StatementType BIND

ASSIGN

public static final ASTStatement.StatementType ASSIGN

VARIABLE

public static final ASTStatement.StatementType VARIABLE

TYPE

public static final ASTStatement.StatementType TYPE

FUNCTION

public static final ASTStatement.StatementType FUNCTION

INCLUDE

public static final ASTStatement.StatementType INCLUDE

PREFIX

public static final ASTStatement.StatementType PREFIX
Method Detail

values

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

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

valueOf

public static ASTStatement.StatementType 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 © 2011 Quattor. All Rights Reserved.