org.apache.hadoop.hive.serde2.dynamic_type
Class thrift_grammarTokenManager

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammarTokenManager
All Implemented Interfaces:
thrift_grammarConstants

public class thrift_grammarTokenManager
extends Object
implements thrift_grammarConstants

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 org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammarConstants
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 Summary
thrift_grammarTokenManager(SimpleCharStream stream)
          Constructor.
thrift_grammarTokenManager(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

debugStream

public PrintStream debugStream
Debug output.


jjstrLiteralImages

public static final String[] jjstrLiteralImages
Token literal values.


lexStateNames

public static final String[] lexStateNames
Lexer state names.


input_stream

protected SimpleCharStream input_stream

curChar

protected char curChar
Constructor Detail

thrift_grammarTokenManager

public thrift_grammarTokenManager(SimpleCharStream stream)
Constructor.


thrift_grammarTokenManager

public thrift_grammarTokenManager(SimpleCharStream stream,
                                  int lexState)
Constructor.

Method Detail

setDebugStream

public void setDebugStream(PrintStream ds)
Set debug output.


ReInit

public void ReInit(SimpleCharStream stream)
Reinitialise parser.


ReInit

public void ReInit(SimpleCharStream stream,
                   int lexState)
Reinitialise parser.


SwitchTo

public void SwitchTo(int lexState)
Switch to specified lex state.


jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()
Get the next Token.



Copyright © 2010 The Apache Software Foundation