public class PajekParserTokenManager extends java.lang.Object implements PajekParserConstants
Modifier and Type | Field and Description |
---|---|
java.io.PrintStream |
debugStream
Debug output.
|
static java.lang.String[] |
jjstrLiteralImages
Token literal values.
|
static java.lang.String[] |
lexStateNames
Lexer state names.
|
A, A1, A2, AP, ARCS, ARCSLIST, B, BC, BOX, BW, C, COMMENT, CROSS, DEFAULT, DIAMOND, DIGIT, EDGES, EDGESLIST, ELLIPSE, EMPTY, EOF, EOL, FONT, FOS, H1, H2, HEXDIGIT, IC, INT, K1, K2, KEY, L, LA, LC, LP, LPHI, LR, MATRIX, NETWORK, P, PHI, Q, R, REAL, S, SIZE, STRING, tokenImage, TRIANGLE, VERTICES, W, XFACT, YFACT
Constructor and Description |
---|
PajekParserTokenManager(SimpleCharStream stream)
Constructor.
|
PajekParserTokenManager(SimpleCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
void |
ReInit(SimpleCharStream stream)
Reinitialise parser.
|
void |
ReInit(SimpleCharStream stream,
int lexState)
Reinitialise parser.
|
void |
setDebugStream(java.io.PrintStream ds)
Set debug output.
|
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
public java.io.PrintStream debugStream
public static final java.lang.String[] jjstrLiteralImages
public static final java.lang.String[] lexStateNames
public PajekParserTokenManager(SimpleCharStream stream)
public PajekParserTokenManager(SimpleCharStream stream, int lexState)
public void setDebugStream(java.io.PrintStream ds)
public void ReInit(SimpleCharStream stream)
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
public Token getNextToken()