net.sourceforge.czt.parser.circus
Enum CircusToken

java.lang.Object
  extended by java.lang.Enum<CircusToken>
      extended by net.sourceforge.czt.parser.circus.CircusToken
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CircusToken>, net.sourceforge.czt.parser.util.Token

public enum CircusToken
extends java.lang.Enum<CircusToken>
implements net.sourceforge.czt.parser.util.Token

These tokens are for the ContextFreeScanner that occurs before decorwords are translated into keywords, so that the context sensitive lexing can take place. TODO: review this list and add CIRCUS box into here (which may solve the \begin{circus} problem with \begin{zed} within the scanners.


Enum Constant Summary
CIRCLINST
           
CIRCRINST
           
CIRCUS
           
CIRCUSACTION
           
LCIRCCHANSET
           
LCIRCGUARD
           
LCIRCRENAME
           
LINTER
           
LPAR
           
LSCHEXPRACT
           
RCIRCCHANSET
           
RCIRCGUARD
           
RCIRCRENAME
           
RINTER
           
RPAR
           
RSCHEXPRACT
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.Object getSpelling()
           
 java.lang.String spelling()
           
static CircusToken valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CircusToken[] 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

LCIRCCHANSET

public static final CircusToken LCIRCCHANSET

RCIRCCHANSET

public static final CircusToken RCIRCCHANSET

CIRCLINST

public static final CircusToken CIRCLINST

CIRCRINST

public static final CircusToken CIRCRINST

LPAR

public static final CircusToken LPAR

RPAR

public static final CircusToken RPAR

LINTER

public static final CircusToken LINTER

RINTER

public static final CircusToken RINTER

LCIRCGUARD

public static final CircusToken LCIRCGUARD

RCIRCGUARD

public static final CircusToken RCIRCGUARD

LSCHEXPRACT

public static final CircusToken LSCHEXPRACT

RSCHEXPRACT

public static final CircusToken RSCHEXPRACT

LCIRCRENAME

public static final CircusToken LCIRCRENAME

RCIRCRENAME

public static final CircusToken RCIRCRENAME

CIRCUS

public static final CircusToken CIRCUS

CIRCUSACTION

public static final CircusToken CIRCUSACTION
Method Detail

values

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

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

valueOf

public static CircusToken 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

getName

public java.lang.String getName()
Specified by:
getName in interface net.sourceforge.czt.parser.util.Token

getSpelling

public java.lang.Object getSpelling()
Specified by:
getSpelling in interface net.sourceforge.czt.parser.util.Token

spelling

public java.lang.String spelling()
Specified by:
spelling in interface net.sourceforge.czt.parser.util.Token


Copyright © 2003-2007 Community Z Tools Project. All Rights Reserved.