org.quattor.pan.parser
Enum ASTOperation.OperationType

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

public static enum ASTOperation.OperationType
extends java.lang.Enum<ASTOperation.OperationType>


Enum Constant Summary
ASSIGN
           
BIT_NOT
           
DEFAULT
           
DML
           
FOR
           
FOREACH
           
FUNCTION
           
HEREDOC
           
IF
           
LITERAL
           
MINUS
           
NOT
           
PLUS
           
VARIABLE
           
WHILE
           
WITH
           
 
Method Summary
static ASTOperation.OperationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ASTOperation.OperationType[] 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

DML

public static final ASTOperation.OperationType DML

PLUS

public static final ASTOperation.OperationType PLUS

MINUS

public static final ASTOperation.OperationType MINUS

NOT

public static final ASTOperation.OperationType NOT

BIT_NOT

public static final ASTOperation.OperationType BIT_NOT

FUNCTION

public static final ASTOperation.OperationType FUNCTION

ASSIGN

public static final ASTOperation.OperationType ASSIGN

IF

public static final ASTOperation.OperationType IF

WHILE

public static final ASTOperation.OperationType WHILE

FOR

public static final ASTOperation.OperationType FOR

FOREACH

public static final ASTOperation.OperationType FOREACH

VARIABLE

public static final ASTOperation.OperationType VARIABLE

WITH

public static final ASTOperation.OperationType WITH

DEFAULT

public static final ASTOperation.OperationType DEFAULT

HEREDOC

public static final ASTOperation.OperationType HEREDOC

LITERAL

public static final ASTOperation.OperationType LITERAL
Method Detail

values

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

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

valueOf

public static ASTOperation.OperationType 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.