Uses of Class
antlr.TokenStreamException

Packages that use TokenStreamException
antlr   
antlr.actions.cpp   
antlr.actions.csharp   
antlr.actions.java   
antlr.actions.python   
antlr.debug   
antlr.preprocessor   
 

Uses of TokenStreamException in antlr
 

Subclasses of TokenStreamException in antlr
 class TokenStreamIOException
          Wraps an IOException in a TokenStreamException
 class TokenStreamRecognitionException
          Wraps a RecognitionException in a TokenStreamException so you can pass it along.
 class TokenStreamRetryException
          Aborted recognition of current token.
 

Methods in antlr that throw TokenStreamException
 void ANTLRParser.alternative()
           
 int ANTLRParser.ast_type_spec()
           
 void ANTLRParser.block()
           
 BitSet ANTLRParser.charSet()
           
 void ANTLRParser.classDef()
           
protected  void TokenStreamHiddenTokenFilter.consume()
           
abstract  void Parser.consume()
          Get another token object from the token stream
 void LLkParser.consume()
          Consume another token from the input stream.
 void Parser.consumeUntil(BitSet set)
          Consume tokens until one matches the given token set
 void Parser.consumeUntil(int tokenType)
          Consume tokens until one matches the given token
 void ANTLRParser.ebnf(Token label, boolean not)
           
 void ANTLRParser.element()
           
 void ANTLRParser.elementNoOptionSpec()
           
 void ANTLRParser.elementOptionSpec()
           
 void ANTLRParser.exceptionGroup()
           
 void ANTLRParser.exceptionHandler()
           
 void ANTLRParser.exceptionSpec()
           
 void ANTLRParser.exceptionSpecNoLabel()
           
 void ANTLRTokdefParser.file(ImportVocabTokenManager tm)
           
 void ANTLRParser.fileOptionsSpec()
           
 void ANTLRParser.grammar()
           
 Token ANTLRParser.id()
           
 int TokenBuffer.LA(int i)
          Get a lookahead token value
abstract  int Parser.LA(int i)
          Return the token type of the ith token of lookahead where i=1 is the current token being examined by the parser (i.e., it has not been matched yet).
 int LLkParser.LA(int i)
           
 void ANTLRParser.lexerOptionsSpec()
           
 void ANTLRParser.lexerSpec(String doc)
           
 void ANTLRTokdefParser.line(ImportVocabTokenManager tm)
           
 Token TokenBuffer.LT(int i)
          Get a lookahead token
abstract  Token Parser.LT(int i)
          Return the ith token of lookahead
 Token LLkParser.LT(int i)
           
 void ANTLRLexer.mACTION(boolean _createToken)
           
 void ANTLRLexer.mARG_ACTION(boolean _createToken)
           
 void ANTLRTokdefLexer.mASSIGN(boolean _createToken)
           
 void ANTLRLexer.mASSIGN(boolean _createToken)
           
 void Parser.match(BitSet b)
          Make sure current lookahead symbol matches the given set Throw an exception upon mismatch, which is catch by either the error handler or by the syntactic predicate.
 void Parser.match(int t)
          Make sure current lookahead symbol matches token type t.
 void Parser.matchNot(int t)
           
 void ANTLRLexer.mBANG(boolean _createToken)
           
 void ANTLRLexer.mCARET(boolean _createToken)
           
 void ANTLRLexer.mCHAR_LITERAL(boolean _createToken)
           
 void ANTLRLexer.mCLOSE_ELEMENT_OPTION(boolean _createToken)
           
 void ANTLRLexer.mCOLON(boolean _createToken)
           
 void ANTLRLexer.mCOMMA(boolean _createToken)
           
 void ANTLRLexer.mCOMMENT(boolean _createToken)
           
protected  void ANTLRTokdefLexer.mDIGIT(boolean _createToken)
           
protected  void ANTLRLexer.mDIGIT(boolean _createToken)
           
protected  void ANTLRTokdefLexer.mESC(boolean _createToken)
           
protected  void ANTLRLexer.mESC(boolean _createToken)
           
 void ANTLRTokdefLexer.mID(boolean _createToken)
           
 void ANTLRLexer.mIMPLIES(boolean _createToken)
           
 void ANTLRTokdefLexer.mINT(boolean _createToken)
           
 void ANTLRLexer.mINT(boolean _createToken)
           
protected  int ANTLRLexer.mINTERNAL_RULE_REF(boolean _createToken)
           
 void ANTLRTokdefLexer.mLPAREN(boolean _createToken)
           
 void ANTLRLexer.mLPAREN(boolean _createToken)
           
 void ANTLRTokdefLexer.mML_COMMENT(boolean _createToken)
           
protected  void ANTLRLexer.mML_COMMENT(boolean _createToken)
           
protected  void ANTLRLexer.mNESTED_ACTION(boolean _createToken)
           
protected  void ANTLRLexer.mNESTED_ARG_ACTION(boolean _createToken)
           
 void ANTLRLexer.mNOT_OP(boolean _createToken)
           
 void ANTLRLexer.mOPEN_ELEMENT_OPTION(boolean _createToken)
           
 void ANTLRLexer.mOR(boolean _createToken)
           
 void ANTLRLexer.mPLUS(boolean _createToken)
           
 void ANTLRLexer.mQUESTION(boolean _createToken)
           
 void ANTLRLexer.mRANGE(boolean _createToken)
           
 void ANTLRLexer.mRCURLY(boolean _createToken)
           
 void ANTLRTokdefLexer.mRPAREN(boolean _createToken)
           
 void ANTLRLexer.mRPAREN(boolean _createToken)
           
 void ANTLRLexer.mRULE_REF(boolean _createToken)
           
 void ANTLRLexer.mSEMI(boolean _createToken)
           
 void ANTLRTokdefLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ANTLRLexer.mSL_COMMENT(boolean _createToken)
           
 void ANTLRLexer.mSTAR(boolean _createToken)
           
 void ANTLRLexer.mSTRING_LITERAL(boolean _createToken)
           
 void ANTLRTokdefLexer.mSTRING(boolean _createToken)
           
 void ANTLRLexer.mTOKEN_REF(boolean _createToken)
           
 void ANTLRLexer.mTREE_BEGIN(boolean _createToken)
           
 void ANTLRLexer.mWILDCARD(boolean _createToken)
           
protected  void ANTLRLexer.mWS_LOOP(boolean _createToken)
           
protected  void ANTLRLexer.mWS_OPT(boolean _createToken)
           
 void ANTLRTokdefLexer.mWS(boolean _createToken)
           
 void ANTLRLexer.mWS(boolean _createToken)
           
protected  void ANTLRTokdefLexer.mXDIGIT(boolean _createToken)
           
protected  void ANTLRLexer.mXDIGIT(boolean _createToken)
           
 Token TokenStreamSelector.nextToken()
           
 Token TokenStreamRewriteEngine.nextToken()
           
 Token TokenStreamHiddenTokenFilter.nextToken()
          Return the next monitored token.
 Token TokenStreamBasicFilter.nextToken()
           
 Token TokenStream.nextToken()
           
 Token ANTLRTokdefLexer.nextToken()
           
 Token ANTLRLexer.nextToken()
           
 void ANTLRParser.notTerminal(Token label)
           
 Token ANTLRParser.optionValue()
           
 void ANTLRParser.parserOptionsSpec()
           
 void ANTLRParser.parserSpec(String doc)
           
 Token ANTLRParser.qualifiedID()
          Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token.
 void ANTLRParser.range(Token label)
           
 void Parser.recover(RecognitionException ex, BitSet tokenSet)
           
 void ANTLRParser.rootNode()
           
 void ANTLRParser.rule()
           
 void ANTLRParser.ruleOptionsSpec()
           
 void ANTLRParser.rules()
           
 BitSet ANTLRParser.setBlockElement()
           
 void ANTLRParser.subruleOptionsSpec()
           
 String ANTLRParser.superClass()
           
 void ANTLRParser.terminal(Token label)
           
 void ANTLRParser.throwsSpec()
           
 void ANTLRParser.tokensSpec()
           
 void ANTLRParser.tokensSpecOptions(Token t)
           
 void Parser.traceIn(String rname)
           
 void LLkParser.traceIn(String rname)
           
 void Parser.traceOut(String rname)
           
 void LLkParser.traceOut(String rname)
           
 void ANTLRParser.tree()
           
 void ANTLRParser.treeParserOptionsSpec()
           
 void ANTLRParser.treeParserSpec(String doc)
           
 void CharScanner.uponEOF()
          This method is called by YourLexer.nextToken() when the lexer has hit EOF condition.
 

Uses of TokenStreamException in antlr.actions.cpp
 

Methods in antlr.actions.cpp that throw TokenStreamException
 void ActionLexer.mACTION(boolean _createToken)
           
protected  void ActionLexer.mARG(boolean _createToken)
           
protected  void ActionLexer.mAST_CONSTRUCTOR(boolean _createToken)
           
protected  void ActionLexer.mAST_CTOR_ELEMENT(boolean _createToken)
          The arguments of a #[...] constructor are text, token type, or a tree.
protected  void ActionLexer.mAST_ITEM(boolean _createToken)
           
protected  void ActionLexer.mCHAR(boolean _createToken)
           
protected  void ActionLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mDIGIT(boolean _createToken)
           
protected  void ActionLexer.mESC(boolean _createToken)
           
protected  boolean ActionLexer.mID_ELEMENT(boolean _createToken)
          An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.
protected  void ActionLexer.mID(boolean _createToken)
           
protected  void ActionLexer.mINT_OR_FLOAT(boolean _createToken)
           
protected  void ActionLexer.mINT(boolean _createToken)
           
protected  void ActionLexer.mML_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mSTRING(boolean _createToken)
           
protected  void ActionLexer.mSTUFF(boolean _createToken)
          stuff in between #(...) and #id items Allow the escaping of the # for C preprocessor stuff.
protected  void ActionLexer.mTEXT_ARG_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ID_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ITEM(boolean _createToken)
           
protected  void ActionLexer.mTREE_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTREE(boolean _createToken)
           
protected  void ActionLexer.mVAR_ASSIGN(boolean _createToken)
           
protected  void ActionLexer.mWS(boolean _createToken)
           
 Token ActionLexer.nextToken()
           
 

Uses of TokenStreamException in antlr.actions.csharp
 

Methods in antlr.actions.csharp that throw TokenStreamException
 void ActionLexer.mACTION(boolean _createToken)
           
protected  void ActionLexer.mARG(boolean _createToken)
           
protected  void ActionLexer.mAST_CONSTRUCTOR(boolean _createToken)
           
protected  void ActionLexer.mAST_CTOR_ELEMENT(boolean _createToken)
          The arguments of a #[...] constructor are text, token type, or a tree.
protected  void ActionLexer.mAST_ITEM(boolean _createToken)
           
protected  void ActionLexer.mCHAR(boolean _createToken)
           
protected  void ActionLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mDIGIT(boolean _createToken)
           
protected  void ActionLexer.mESC(boolean _createToken)
           
protected  boolean ActionLexer.mID_ELEMENT(boolean _createToken)
          An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.
protected  void ActionLexer.mID(boolean _createToken)
           
protected  void ActionLexer.mINT_OR_FLOAT(boolean _createToken)
           
protected  void ActionLexer.mINT(boolean _createToken)
           
protected  void ActionLexer.mML_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mSTRING(boolean _createToken)
           
protected  void ActionLexer.mSTUFF(boolean _createToken)
          stuff in between #(...) and #id items Allow the escaping of the # for C# preprocessor stuff.
protected  void ActionLexer.mTEXT_ARG_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ID_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ITEM(boolean _createToken)
           
protected  void ActionLexer.mTREE_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTREE(boolean _createToken)
           
protected  void ActionLexer.mVAR_ASSIGN(boolean _createToken)
           
protected  void ActionLexer.mWS(boolean _createToken)
           
 Token ActionLexer.nextToken()
           
 

Uses of TokenStreamException in antlr.actions.java
 

Methods in antlr.actions.java that throw TokenStreamException
 void ActionLexer.mACTION(boolean _createToken)
           
protected  void ActionLexer.mARG(boolean _createToken)
           
protected  void ActionLexer.mAST_CONSTRUCTOR(boolean _createToken)
           
protected  void ActionLexer.mAST_CTOR_ELEMENT(boolean _createToken)
          The arguments of a #[...] constructor are text, token type, or a tree.
protected  void ActionLexer.mAST_ITEM(boolean _createToken)
           
protected  void ActionLexer.mCHAR(boolean _createToken)
           
protected  void ActionLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mDIGIT(boolean _createToken)
           
protected  void ActionLexer.mESC(boolean _createToken)
           
protected  boolean ActionLexer.mID_ELEMENT(boolean _createToken)
          An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.
protected  void ActionLexer.mID(boolean _createToken)
           
protected  void ActionLexer.mINT_OR_FLOAT(boolean _createToken)
           
protected  void ActionLexer.mINT(boolean _createToken)
           
protected  void ActionLexer.mML_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mSTRING(boolean _createToken)
           
protected  void ActionLexer.mSTUFF(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ID_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ITEM(boolean _createToken)
           
protected  void ActionLexer.mTREE_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTREE(boolean _createToken)
           
protected  void ActionLexer.mVAR_ASSIGN(boolean _createToken)
           
protected  void ActionLexer.mWS(boolean _createToken)
           
 Token ActionLexer.nextToken()
           
 

Uses of TokenStreamException in antlr.actions.python
 

Methods in antlr.actions.python that throw TokenStreamException
 void CodeLexer.mACTION(boolean _createToken)
           
 void ActionLexer.mACTION(boolean _createToken)
           
protected  void ActionLexer.mARG(boolean _createToken)
           
protected  void ActionLexer.mAST_CONSTRUCTOR(boolean _createToken)
           
protected  void ActionLexer.mAST_CTOR_ELEMENT(boolean _createToken)
          The arguments of a #[...] constructor are text, token type, or a tree.
protected  void ActionLexer.mAST_ITEM(boolean _createToken)
           
protected  void ActionLexer.mCHAR(boolean _createToken)
           
protected  void CodeLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mDIGIT(boolean _createToken)
           
protected  void ActionLexer.mESC(boolean _createToken)
           
protected  boolean ActionLexer.mID_ELEMENT(boolean _createToken)
          An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.
protected  void ActionLexer.mID(boolean _createToken)
           
protected  void CodeLexer.mIGNWS(boolean _createToken)
           
protected  void ActionLexer.mIGNWS(boolean _createToken)
           
protected  void ActionLexer.mINT_OR_FLOAT(boolean _createToken)
           
protected  void ActionLexer.mINT(boolean _createToken)
           
protected  void CodeLexer.mML_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mML_COMMENT(boolean _createToken)
           
protected  void CodeLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mSTRING(boolean _createToken)
           
protected  void CodeLexer.mSTUFF(boolean _createToken)
           
protected  void ActionLexer.mSTUFF(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ID_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ITEM(boolean _createToken)
           
protected  void ActionLexer.mTREE_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTREE(boolean _createToken)
           
protected  void ActionLexer.mVAR_ASSIGN(boolean _createToken)
           
protected  void ActionLexer.mWS(boolean _createToken)
           
 Token CodeLexer.nextToken()
           
 Token ActionLexer.nextToken()
           
 

Uses of TokenStreamException in antlr.debug
 

Methods in antlr.debug that throw TokenStreamException
protected  void ParseTreeDebugParser.addCurrentTokenToParseTree()
          This adds LT(1) to the current parse subtree.
 void LLkDebuggingParser.consume()
          Get another token object from the token stream
 int LLkDebuggingParser.LA(int i)
          Return the token type of the ith token of lookahead where i=1 is the current token being examined by the parser (i.e., it has not been matched yet).
 void ParseTreeDebugParser.match(BitSet bitSet)
           
 void LLkDebuggingParser.match(BitSet b)
          Make sure current lookahead symbol matches the given set Throw an exception upon mismatch, which is catch by either the error handler or by the syntactic predicate.
 void ParseTreeDebugParser.match(int i)
           
 void LLkDebuggingParser.match(int t)
          Make sure current lookahead symbol matches token type t.
 void ParseTreeDebugParser.matchNot(int i)
           
 void LLkDebuggingParser.matchNot(int t)
           
 void ParseTreeDebugParser.traceIn(String s)
          Create a rule node, add to current tree, and make it current root
 void ParseTreeDebugParser.traceOut(String s)
          Pop current root; back to adding to old root
 

Uses of TokenStreamException in antlr.preprocessor
 

Methods in antlr.preprocessor that throw TokenStreamException
 Grammar Preprocessor.class_def(String file, Hierarchy hier)
           
 String Preprocessor.exceptionGroup()
           
 String Preprocessor.exceptionHandler()
           
 String Preprocessor.exceptionSpec()
           
 void Preprocessor.grammarFile(Hierarchy hier, String file)
           
 void PreprocessorLexer.mACTION(boolean _createToken)
           
protected  void PreprocessorLexer.mALT(boolean _createToken)
           
 void PreprocessorLexer.mARG_ACTION(boolean _createToken)
           
 void PreprocessorLexer.mASSIGN_RHS(boolean _createToken)
           
 void PreprocessorLexer.mBANG(boolean _createToken)
           
 void PreprocessorLexer.mCHAR_LITERAL(boolean _createToken)
           
 void PreprocessorLexer.mCOMMA(boolean _createToken)
           
 void PreprocessorLexer.mCOMMENT(boolean _createToken)
           
protected  void PreprocessorLexer.mCURLY_BLOCK_SCARF(boolean _createToken)
           
protected  void PreprocessorLexer.mDIGIT(boolean _createToken)
           
protected  void PreprocessorLexer.mELEMENT(boolean _createToken)
           
protected  void PreprocessorLexer.mESC(boolean _createToken)
           
 void PreprocessorLexer.mID_OR_KEYWORD(boolean _createToken)
          This rule picks off keywords in the lexer that need to be handled specially.
protected  void PreprocessorLexer.mID(boolean _createToken)
           
 void PreprocessorLexer.mLPAREN(boolean _createToken)
           
protected  void PreprocessorLexer.mML_COMMENT(boolean _createToken)
           
protected  void PreprocessorLexer.mNEWLINE(boolean _createToken)
           
 void PreprocessorLexer.mRCURLY(boolean _createToken)
           
 void PreprocessorLexer.mRPAREN(boolean _createToken)
           
 void PreprocessorLexer.mRULE_BLOCK(boolean _createToken)
           
 void PreprocessorLexer.mSEMI(boolean _createToken)
           
protected  void PreprocessorLexer.mSL_COMMENT(boolean _createToken)
           
 void PreprocessorLexer.mSTRING_LITERAL(boolean _createToken)
           
 void PreprocessorLexer.mSUBRULE_BLOCK(boolean _createToken)
           
 void PreprocessorLexer.mWS(boolean _createToken)
           
protected  void PreprocessorLexer.mXDIGIT(boolean _createToken)
           
 Token PreprocessorLexer.nextToken()
           
 IndexedVector Preprocessor.optionSpec(Grammar gr)
           
 void Preprocessor.rule(Grammar gr)
           
 String Preprocessor.superClass()
           
 String Preprocessor.throwsSpec()