Uses of Interface
antlr.TokenStream

Packages that use TokenStream
antlr   
antlr.actions.cpp   
antlr.debug   
antlr.preprocessor   
 

Uses of TokenStream in antlr
 

Classes in antlr that implement TokenStream
 class ANTLRLexer
           
 class ANTLRTokdefLexer
           
 class CharScanner
           
 class TokenStreamBasicFilter
          This object is a TokenStream that passes through all tokens except for those that you tell it to discard.
 class TokenStreamHiddenTokenFilter
          This object filters a token stream coming from a lexer or another TokenStream so that only certain token channels get transmitted to the parser.
 class TokenStreamRewriteEngine
          This token stream tracks the *entire* token stream coming from a lexer, but does not pass on the whitespace (or whatever else you want to discard) to the parser.
 class TokenStreamSelector
          A token stream MUX (multiplexor) knows about n token streams and can multiplex them onto the same channel for use by token stream consumer like a parser.
 

Fields in antlr declared as TokenStream
protected  TokenStream TokenStreamBasicFilter.input
          The input stream
protected  TokenStream TokenStreamSelector.input
          The currently-selected token stream input
protected  TokenStream TokenStreamRewriteEngine.stream
          Who do we suck tokens from?
protected  TokenStream TokenBuffer.input
           
 

Methods in antlr that return TokenStream
 TokenStream TokenStreamSelector.getCurrentStream()
          Return the stream from tokens are being pulled at the moment.
 TokenStream TokenStreamSelector.getStream(String sname)
           
 TokenStream TokenStreamSelector.pop()
           
 TokenStream TokenBuffer.getInput()
          return the Tokenizer (needed by ParseView)
 

Methods in antlr with parameters of type TokenStream
 void TokenStreamSelector.addInputStream(TokenStream stream, String key)
           
 void TokenStreamSelector.push(TokenStream stream)
           
 void TokenStreamSelector.select(TokenStream stream)
          Set the stream without pushing old stream
protected  void Parser.defaultDebuggingSetup(TokenStream lexer, TokenBuffer tokBuf)
           
 

Constructors in antlr with parameters of type TokenStream
TokenStreamBasicFilter(TokenStream input)
           
TokenStreamRewriteEngine(TokenStream upstream)
           
TokenStreamRewriteEngine(TokenStream upstream, int initialSize)
           
ANTLRParser(TokenStream lexer, int k)
           
ANTLRParser(TokenStream lexer)
           
TokenBuffer(TokenStream input_)
          Create a token buffer
ANTLRTokdefParser(TokenStream lexer, int k)
           
ANTLRTokdefParser(TokenStream lexer)
           
TokenStreamHiddenTokenFilter(TokenStream input)
           
LLkParser(TokenStream lexer, int k_)
           
 

Uses of TokenStream in antlr.actions.cpp
 

Classes in antlr.actions.cpp that implement TokenStream
 class ActionLexer
          Perform the following translations: AST related translations ## -> currentRule_AST #(x,y,z) -> codeGenerator.getASTCreateString(vector-of(x,y,z)) #[x] -> codeGenerator.getASTCreateString(x) #x -> codeGenerator.mapTreeId(x) Inside context of #(...), you can ref (x,y,z), [x], and x as shortcuts.
 

Uses of TokenStream in antlr.debug
 

Classes in antlr.debug that implement TokenStream
 class DebuggingCharScanner
           
 

Methods in antlr.debug with parameters of type TokenStream
 void LLkDebuggingParser.setupDebugging(TokenStream lexer)
           
protected  void LLkDebuggingParser.setupDebugging(TokenStream lexer, TokenBuffer tokenBuf)
          User can override to do their own debugging
 

Constructors in antlr.debug with parameters of type TokenStream
ParseTreeDebugParser(TokenStream lexer, int k_)
           
LLkDebuggingParser(TokenStream lexer, int k_)
           
 

Uses of TokenStream in antlr.preprocessor
 

Classes in antlr.preprocessor that implement TokenStream
 class PreprocessorLexer
           
 

Constructors in antlr.preprocessor with parameters of type TokenStream
Preprocessor(TokenStream lexer, int k)
           
Preprocessor(TokenStream lexer)