|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.units.UnitParserTokenManager
public class UnitParserTokenManager
Token Manager.
Field Summary | |
---|---|
protected char |
curChar
|
PrintStream |
debugStream
Debug output. |
protected SimpleCharStream |
input_stream
|
static String[] |
jjstrLiteralImages
Token literal values. |
static String[] |
lexStateNames
Lexer state names. |
Fields inherited from interface visad.data.units.UnitParserConstants |
---|
COLON, DEFAULT, DIVIDE, EOF, LB, LETTER, LG, LN, LPAREN, MINUS, NAME, PERIOD, PLUS, RAISE, REAL_EXP, RPAREN, SHIFT, SIGN, SP, STAR, SYMBOL, T, tokenImage, UINT, UTC |
Constructor Summary | |
---|---|
UnitParserTokenManager(SimpleCharStream stream)
Constructor. |
|
UnitParserTokenManager(SimpleCharStream stream,
int lexState)
Constructor. |
Method Summary | |
---|---|
Token |
getNextToken()
Get the next Token. |
protected Token |
jjFillToken()
|
void |
ReInit(SimpleCharStream stream)
Reinitialise parser. |
void |
ReInit(SimpleCharStream stream,
int lexState)
Reinitialise parser. |
void |
setDebugStream(PrintStream ds)
Set debug output. |
void |
SwitchTo(int lexState)
Switch to specified lex state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
protected SimpleCharStream input_stream
protected char curChar
Constructor Detail |
---|
public UnitParserTokenManager(SimpleCharStream stream)
public UnitParserTokenManager(SimpleCharStream stream, int lexState)
Method Detail |
---|
public void setDebugStream(PrintStream ds)
public void ReInit(SimpleCharStream stream)
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |