fr.umlv.tatoo.runtime.tools
Enum AbstractToolsProcessor.BufferOperation

java.lang.Object
  extended by java.lang.Enum<AbstractToolsProcessor.BufferOperation>
      extended by fr.umlv.tatoo.runtime.tools.AbstractToolsProcessor.BufferOperation
All Implemented Interfaces:
Serializable, Comparable<AbstractToolsProcessor.BufferOperation>
Enclosing class:
AbstractToolsProcessor<B extends LexerBuffer,R,T,N,P>

public static enum AbstractToolsProcessor.BufferOperation
extends Enum<AbstractToolsProcessor.BufferOperation>

Possible operations when a token is recognized.


Enum Constant Summary
NEXT
          Continue processing normally
RESTART
          Restart the lexing process for the current terminal (unwind must not has been called for it and semantics action not has been executed)
 
Method Summary
static AbstractToolsProcessor.BufferOperation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractToolsProcessor.BufferOperation[] 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

NEXT

public static final AbstractToolsProcessor.BufferOperation NEXT
Continue processing normally


RESTART

public static final AbstractToolsProcessor.BufferOperation RESTART
Restart the lexing process for the current terminal (unwind must not has been called for it and semantics action not has been executed)

Method Detail

values

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

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

valueOf

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