|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.compiler.idl.IdlTokenManager
public class IdlTokenManager
Token Manager.
Field Summary | |
---|---|
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. |
Fields inherited from interface org.apache.avro.compiler.idl.IdlConstants |
---|
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 Summary | |
---|---|
IdlTokenManager(JavaCharStream stream)
Constructor. |
|
IdlTokenManager(JavaCharStream stream,
int lexState)
Constructor. |
Method Summary | |
---|---|
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. |
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
public static final int[] jjnewLexState
protected JavaCharStream input_stream
protected char curChar
Constructor Detail |
---|
public IdlTokenManager(JavaCharStream stream)
public IdlTokenManager(JavaCharStream stream, int lexState)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |