org.jclarion.clarion.lang
Enum LexType

java.lang.Object
  extended by java.lang.Enum<LexType>
      extended by org.jclarion.clarion.lang.LexType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LexType>

public enum LexType
extends java.lang.Enum<LexType>


Enum Constant Summary
assign
           
colon
           
comment
           
comparator
           
control
           
decimal
           
dot
           
eof
           
implicit
           
integer
           
java
           
label
           
lbrack
           
lcurl
           
lparam
           
nl
           
operator
           
other
           
param
           
picture
           
rbrack
           
rcurl
           
reference
           
rparam
           
semicolon
           
string
           
use
           
ws
           
 
Method Summary
static LexType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LexType[] 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

label

public static final LexType label

ws

public static final LexType ws

nl

public static final LexType nl

string

public static final LexType string

comment

public static final LexType comment

decimal

public static final LexType decimal

integer

public static final LexType integer

lparam

public static final LexType lparam

rparam

public static final LexType rparam

lbrack

public static final LexType lbrack

rbrack

public static final LexType rbrack

lcurl

public static final LexType lcurl

rcurl

public static final LexType rcurl

dot

public static final LexType dot

implicit

public static final LexType implicit

control

public static final LexType control

comparator

public static final LexType comparator

assign

public static final LexType assign

operator

public static final LexType operator

param

public static final LexType param

reference

public static final LexType reference

colon

public static final LexType colon

semicolon

public static final LexType semicolon

use

public static final LexType use

picture

public static final LexType picture

other

public static final LexType other

java

public static final LexType java

eof

public static final LexType eof
Method Detail

values

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

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

valueOf

public static LexType 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 © 2010. All Rights Reserved.