public class thrift_grammarTokenManager extends Object implements thrift_grammarConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
PrintStream |
debugStream
Debug output.
|
protected SimpleCharStream |
input_stream |
static String[] |
jjstrLiteralImages
Token literal values.
|
static String[] |
lexStateNames
Lexer state names.
|
DEFAULT, DIGIT, EOF, IDENTIFIER, LETTER, tok_async, tok_bool, tok_byte, tok_cocoa_prefix, tok_const, tok_cpp_include, tok_cpp_namespace, tok_cpp_type, tok_csharp_namespace, tok_double, tok_double_constant, tok_enum, tok_exception, tok_extends, tok_i16, tok_i32, tok_i64, tok_include, tok_int_constant, tok_java_package, tok_list, tok_literal, tok_map, tok_namespace, tok_optional, tok_perl_package, tok_php_namespace, tok_py_module, tok_required, tok_ruby_namespace, tok_senum, tok_service, tok_set, tok_skip, tok_slist, tok_smalltalk_category, tok_smalltalk_prefix, tok_st_identifier, tok_string, tok_struct, tok_throws, tok_typedef, tok_void, tok_xsd_all, tok_xsd_attrs, tok_xsd_namespace, tok_xsd_nillable, tok_xsd_optional, tokenImage
Constructor and Description |
---|
thrift_grammarTokenManager(SimpleCharStream stream)
Constructor.
|
thrift_grammarTokenManager(SimpleCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
protected SimpleCharStream input_stream
protected char curChar
public thrift_grammarTokenManager(SimpleCharStream stream)
public thrift_grammarTokenManager(SimpleCharStream stream, int lexState)
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()
Copyright © 2021 The Apache Software Foundation. All rights reserved.