public class IdlTokenManager extends Object implements IdlConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
PrintStream |
debugStream
Debug output.
|
protected JavaCharStream |
input_stream |
static int[] |
jjnewLexState
Lex State array.
|
static String[] |
jjstrLiteralImages
Token literal values.
|
static String[] |
lexStateNames
Lexer state names.
|
ARRAY, AT, BOOLEAN, BYTES, CHARACTER_LITERAL, COLON, COMMA, DECIMAL_EXPONENT, DECIMAL_FLOATING_POINT_LITERAL, DECIMAL_LITERAL, DEFAULT, DOC_COMMENT, DOT, DOUBLE, ENUM, EOF, EQUALS, ERROR, FALSE, FIXED, FLOAT, FLOATING_POINT_LITERAL, GT, HEX_LITERAL, HEXADECIMAL_EXPONENT, HEXADECIMAL_FLOATING_POINT_LITERAL, IDENTIFIER, IDL, IMPORT, INT, INTEGER_LITERAL, LBRACE, LBRACK, LETTER, LONG, LPAREN, LT, MAP, MULTI_LINE_COMMENT, NULL, OCTAL_LITERAL, ONEWAY, PART_LETTER, PROTOCOL, RBRACE, RBRACK, RECORD, RPAREN, SCHEMA, SEMICOLON, SINGLE_LINE_COMMENT, STRING, STRING_LITERAL, STUFF_TO_IGNORE, THROWS, TICK, tokenImage, TRUE, UNION, VOID
Constructor and Description |
---|
IdlTokenManager(JavaCharStream stream)
Constructor.
|
IdlTokenManager(JavaCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
protected Token |
jjFillToken() |
void |
ReInit(JavaCharStream stream)
Reinitialise parser.
|
void |
ReInit(JavaCharStream stream,
int lexState)
Reinitialise parser.
|
void |
setDebugStream(PrintStream ds)
Set debug output.
|
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
protected JavaCharStream input_stream
protected char curChar
public IdlTokenManager(JavaCharStream stream)
public IdlTokenManager(JavaCharStream stream, int lexState)
public void setDebugStream(PrintStream ds)
public void ReInit(JavaCharStream stream)
public void ReInit(JavaCharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.