|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.parser.tokens.TransformationCatalogReservedWord
public class TransformationCatalogReservedWord
Class to capture reserved words for the textual format of Transformation Catalog
| Field Summary | |
|---|---|
static int |
ARCH
token value for the reserved word "arch". |
private static Map |
mSymbolTable
Singleton implementation of a symbol table for reserved words. |
private int |
mValue
This instance variable captures the token value for the reserved word. |
static int |
OS
token value for the reserved word "os". |
static int |
OSRELEASE
token value for the reserved word "osrelease". |
static int |
OSVERSION
token value for the reserver word "osversion". |
static int |
PFN
token value for the reserved word "pfn". |
static int |
PROFILE
token value for the reserved word "profile". |
static int |
SITE
token value for the reserved word "site". |
static int |
TRANSFORMATION
token value for the reserved word "tr". |
static int |
TYPE
token value for the reserver word "osversion". |
| Constructor Summary | |
|---|---|
protected |
TransformationCatalogReservedWord(int tokenValue)
Initializes an instance of a reserved word token. |
| Method Summary | |
|---|---|
int |
getValue()
Obtains the token value of a given reserved word token. |
static Map |
symbolTable()
Singleton access to the symbol table as a whole. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TRANSFORMATION
public static final int SITE
public static final int PROFILE
public static final int PFN
public static final int ARCH
public static final int OS
public static final int OSRELEASE
public static final int OSVERSION
public static final int TYPE
private static Map mSymbolTable
private int mValue
| Constructor Detail |
|---|
protected TransformationCatalogReservedWord(int tokenValue)
tokenValue - is the token value to memorize.symbolTable()| Method Detail |
|---|
public static Map symbolTable()
public int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||