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
 Token TokenStreamRewriteEngine.nextToken()
           
protected  void TokenStreamHiddenTokenFilter.consume()
           
 Token TokenStreamHiddenTokenFilter.nextToken()
          Return the next monitored token.
 void ANTLRParser.grammar()
           
 void ANTLRParser.fileOptionsSpec()
           
 void ANTLRParser.classDef()
           
 Token ANTLRParser.id()
           
 void ANTLRParser.lexerSpec(java.lang.String doc)
           
 void ANTLRParser.treeParserSpec(java.lang.String doc)
           
 void ANTLRParser.parserSpec(java.lang.String doc)
           
 void ANTLRParser.rules()
           
 Token ANTLRParser.optionValue()
           
 void ANTLRParser.parserOptionsSpec()
           
 void ANTLRParser.treeParserOptionsSpec()
           
 void ANTLRParser.lexerOptionsSpec()
           
 BitSet ANTLRParser.charSet()
           
 void ANTLRParser.subruleOptionsSpec()
           
 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.
 BitSet ANTLRParser.setBlockElement()
           
 void ANTLRParser.tokensSpec()
           
 void ANTLRParser.tokensSpecOptions(Token t)
           
 java.lang.String ANTLRParser.superClass()
           
 void ANTLRParser.rule()
           
 void ANTLRParser.throwsSpec()
           
 void ANTLRParser.ruleOptionsSpec()
           
 void ANTLRParser.block()
           
 void ANTLRParser.exceptionGroup()
           
 void ANTLRParser.alternative()
           
 void ANTLRParser.element()
           
 void ANTLRParser.exceptionSpecNoLabel()
           
 void ANTLRParser.exceptionSpec()
           
 void ANTLRParser.exceptionHandler()
           
 void ANTLRParser.elementNoOptionSpec()
           
 void ANTLRParser.elementOptionSpec()
           
 void ANTLRParser.range(Token label)
           
 void ANTLRParser.terminal(Token label)
           
 void ANTLRParser.notTerminal(Token label)
           
 void ANTLRParser.ebnf(Token label, boolean not)
           
 void ANTLRParser.tree()
           
 void ANTLRParser.rootNode()
           
 int ANTLRParser.ast_type_spec()
           
 void LLkParser.consume()
          Consume another token from the input stream.
 int LLkParser.LA(int i)
           
 Token LLkParser.LT(int i)
           
 void LLkParser.traceIn(java.lang.String rname)
           
 void LLkParser.traceOut(java.lang.String rname)
           
 int TokenBuffer.LA(int i)
          Get a lookahead token value
 Token TokenBuffer.LT(int i)
          Get a lookahead token
 Token TokenStreamSelector.nextToken()
           
 void CharScanner.uponEOF()
          This method is called by YourLexer.nextToken() when the lexer has hit EOF condition.
abstract  void Parser.consume()
          Get another token object from the token stream
 void Parser.consumeUntil(int tokenType)
          Consume tokens until one matches the given token
 void Parser.consumeUntil(BitSet set)
          Consume tokens until one matches the given token set
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).
abstract  Token Parser.LT(int i)
          Return the ith token of lookahead
 void Parser.match(int t)
          Make sure current lookahead symbol matches token type t.
 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.matchNot(int t)
           
 void Parser.recover(RecognitionException ex, BitSet tokenSet)
           
 void Parser.traceIn(java.lang.String rname)
           
 void Parser.traceOut(java.lang.String rname)
           
 Token ANTLRLexer.nextToken()
           
 void ANTLRLexer.mWS(boolean _createToken)
           
 void ANTLRLexer.mCOMMENT(boolean _createToken)
           
protected  void ANTLRLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ANTLRLexer.mML_COMMENT(boolean _createToken)
           
 void ANTLRLexer.mOPEN_ELEMENT_OPTION(boolean _createToken)
           
 void ANTLRLexer.mCLOSE_ELEMENT_OPTION(boolean _createToken)
           
 void ANTLRLexer.mCOMMA(boolean _createToken)
           
 void ANTLRLexer.mQUESTION(boolean _createToken)
           
 void ANTLRLexer.mTREE_BEGIN(boolean _createToken)
           
 void ANTLRLexer.mLPAREN(boolean _createToken)
           
 void ANTLRLexer.mRPAREN(boolean _createToken)
           
 void ANTLRLexer.mCOLON(boolean _createToken)
           
 void ANTLRLexer.mSTAR(boolean _createToken)
           
 void ANTLRLexer.mPLUS(boolean _createToken)
           
 void ANTLRLexer.mASSIGN(boolean _createToken)
           
 void ANTLRLexer.mIMPLIES(boolean _createToken)
           
 void ANTLRLexer.mSEMI(boolean _createToken)
           
 void ANTLRLexer.mCARET(boolean _createToken)
           
 void ANTLRLexer.mBANG(boolean _createToken)
           
 void ANTLRLexer.mOR(boolean _createToken)
           
 void ANTLRLexer.mWILDCARD(boolean _createToken)
           
 void ANTLRLexer.mRANGE(boolean _createToken)
           
 void ANTLRLexer.mNOT_OP(boolean _createToken)
           
 void ANTLRLexer.mRCURLY(boolean _createToken)
           
 void ANTLRLexer.mCHAR_LITERAL(boolean _createToken)
           
protected  void ANTLRLexer.mESC(boolean _createToken)
           
 void ANTLRLexer.mSTRING_LITERAL(boolean _createToken)
           
protected  void ANTLRLexer.mXDIGIT(boolean _createToken)
           
protected  void ANTLRLexer.mDIGIT(boolean _createToken)
           
 void ANTLRLexer.mINT(boolean _createToken)
           
 void ANTLRLexer.mARG_ACTION(boolean _createToken)
           
protected  void ANTLRLexer.mNESTED_ARG_ACTION(boolean _createToken)
           
 void ANTLRLexer.mACTION(boolean _createToken)
           
protected  void ANTLRLexer.mNESTED_ACTION(boolean _createToken)
           
 void ANTLRLexer.mTOKEN_REF(boolean _createToken)
           
 void ANTLRLexer.mRULE_REF(boolean _createToken)
           
protected  int ANTLRLexer.mINTERNAL_RULE_REF(boolean _createToken)
           
protected  void ANTLRLexer.mWS_LOOP(boolean _createToken)
           
protected  void ANTLRLexer.mWS_OPT(boolean _createToken)
           
 Token ANTLRTokdefLexer.nextToken()
           
 void ANTLRTokdefLexer.mWS(boolean _createToken)
           
 void ANTLRTokdefLexer.mSL_COMMENT(boolean _createToken)
           
 void ANTLRTokdefLexer.mML_COMMENT(boolean _createToken)
           
 void ANTLRTokdefLexer.mLPAREN(boolean _createToken)
           
 void ANTLRTokdefLexer.mRPAREN(boolean _createToken)
           
 void ANTLRTokdefLexer.mASSIGN(boolean _createToken)
           
 void ANTLRTokdefLexer.mSTRING(boolean _createToken)
           
protected  void ANTLRTokdefLexer.mESC(boolean _createToken)
           
protected  void ANTLRTokdefLexer.mDIGIT(boolean _createToken)
           
protected  void ANTLRTokdefLexer.mXDIGIT(boolean _createToken)
           
 void ANTLRTokdefLexer.mID(boolean _createToken)
           
 void ANTLRTokdefLexer.mINT(boolean _createToken)
           
 void ANTLRTokdefParser.file(ImportVocabTokenManager tm)
           
 void ANTLRTokdefParser.line(ImportVocabTokenManager tm)
           
 Token TokenStream.nextToken()
           
 Token TokenStreamBasicFilter.nextToken()
           
 

Uses of TokenStreamException in antlr.actions.cpp
 

Methods in antlr.actions.cpp that throw TokenStreamException
 Token ActionLexer.nextToken()
           
 void ActionLexer.mACTION(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.mAST_ITEM(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ITEM(boolean _createToken)
           
protected  void ActionLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mSTRING(boolean _createToken)
           
protected  void ActionLexer.mCHAR(boolean _createToken)
           
protected  void ActionLexer.mTREE(boolean _createToken)
           
protected  void ActionLexer.mWS(boolean _createToken)
           
protected  void ActionLexer.mID(boolean _createToken)
           
protected  void ActionLexer.mVAR_ASSIGN(boolean _createToken)
           
protected  void ActionLexer.mAST_CONSTRUCTOR(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG(boolean _createToken)
           
protected  void ActionLexer.mTREE_ELEMENT(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.mAST_CTOR_ELEMENT(boolean _createToken)
          The arguments of a #[...] constructor are text, token type, or a tree.
protected  void ActionLexer.mINT(boolean _createToken)
           
protected  void ActionLexer.mARG(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ID_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mINT_OR_FLOAT(boolean _createToken)
           
protected  void ActionLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mML_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mESC(boolean _createToken)
           
protected  void ActionLexer.mDIGIT(boolean _createToken)
           
 

Uses of TokenStreamException in antlr.actions.csharp
 

Methods in antlr.actions.csharp that throw TokenStreamException
 Token ActionLexer.nextToken()
           
 void ActionLexer.mACTION(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.mAST_ITEM(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ITEM(boolean _createToken)
           
protected  void ActionLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mSTRING(boolean _createToken)
           
protected  void ActionLexer.mCHAR(boolean _createToken)
           
protected  void ActionLexer.mTREE(boolean _createToken)
           
protected  void ActionLexer.mWS(boolean _createToken)
           
protected  void ActionLexer.mID(boolean _createToken)
           
protected  void ActionLexer.mVAR_ASSIGN(boolean _createToken)
           
protected  void ActionLexer.mAST_CONSTRUCTOR(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG(boolean _createToken)
           
protected  void ActionLexer.mTREE_ELEMENT(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.mAST_CTOR_ELEMENT(boolean _createToken)
          The arguments of a #[...] constructor are text, token type, or a tree.
protected  void ActionLexer.mINT(boolean _createToken)
           
protected  void ActionLexer.mARG(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ID_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mINT_OR_FLOAT(boolean _createToken)
           
protected  void ActionLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mML_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mESC(boolean _createToken)
           
protected  void ActionLexer.mDIGIT(boolean _createToken)
           
 

Uses of TokenStreamException in antlr.actions.java
 

Methods in antlr.actions.java that throw TokenStreamException
 Token ActionLexer.nextToken()
           
 void ActionLexer.mACTION(boolean _createToken)
           
protected  void ActionLexer.mSTUFF(boolean _createToken)
           
protected  void ActionLexer.mAST_ITEM(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ITEM(boolean _createToken)
           
protected  void ActionLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mSTRING(boolean _createToken)
           
protected  void ActionLexer.mCHAR(boolean _createToken)
           
protected  void ActionLexer.mTREE(boolean _createToken)
           
protected  void ActionLexer.mID(boolean _createToken)
           
protected  void ActionLexer.mWS(boolean _createToken)
           
protected  void ActionLexer.mVAR_ASSIGN(boolean _createToken)
           
protected  void ActionLexer.mAST_CONSTRUCTOR(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG(boolean _createToken)
           
protected  void ActionLexer.mTREE_ELEMENT(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.mAST_CTOR_ELEMENT(boolean _createToken)
          The arguments of a #[...] constructor are text, token type, or a tree.
protected  void ActionLexer.mINT(boolean _createToken)
           
protected  void ActionLexer.mARG(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ID_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mINT_OR_FLOAT(boolean _createToken)
           
protected  void ActionLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mML_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mESC(boolean _createToken)
           
protected  void ActionLexer.mDIGIT(boolean _createToken)
           
 

Uses of TokenStreamException in antlr.actions.python
 

Methods in antlr.actions.python that throw TokenStreamException
 Token CodeLexer.nextToken()
           
 void CodeLexer.mACTION(boolean _createToken)
           
protected  void CodeLexer.mSTUFF(boolean _createToken)
           
protected  void CodeLexer.mCOMMENT(boolean _createToken)
           
protected  void CodeLexer.mSL_COMMENT(boolean _createToken)
           
protected  void CodeLexer.mML_COMMENT(boolean _createToken)
           
protected  void CodeLexer.mIGNWS(boolean _createToken)
           
 Token ActionLexer.nextToken()
           
 void ActionLexer.mACTION(boolean _createToken)
           
protected  void ActionLexer.mSTUFF(boolean _createToken)
           
protected  void ActionLexer.mAST_ITEM(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ITEM(boolean _createToken)
           
protected  void ActionLexer.mCOMMENT(boolean _createToken)
           
protected  void ActionLexer.mSTRING(boolean _createToken)
           
protected  void ActionLexer.mCHAR(boolean _createToken)
           
protected  void ActionLexer.mTREE(boolean _createToken)
           
protected  void ActionLexer.mID(boolean _createToken)
           
protected  void ActionLexer.mWS(boolean _createToken)
           
protected  void ActionLexer.mVAR_ASSIGN(boolean _createToken)
           
protected  void ActionLexer.mAST_CONSTRUCTOR(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG(boolean _createToken)
           
protected  void ActionLexer.mTREE_ELEMENT(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.mAST_CTOR_ELEMENT(boolean _createToken)
          The arguments of a #[...] constructor are text, token type, or a tree.
protected  void ActionLexer.mINT(boolean _createToken)
           
protected  void ActionLexer.mARG(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mTEXT_ARG_ID_ELEMENT(boolean _createToken)
           
protected  void ActionLexer.mINT_OR_FLOAT(boolean _createToken)
           
protected  void ActionLexer.mSL_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mML_COMMENT(boolean _createToken)
           
protected  void ActionLexer.mIGNWS(boolean _createToken)
           
protected  void ActionLexer.mESC(boolean _createToken)
           
protected  void ActionLexer.mDIGIT(boolean _createToken)
           
 

Uses of TokenStreamException in antlr.debug
 

Methods in antlr.debug that throw TokenStreamException
 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 LLkDebuggingParser.match(int t)
          Make sure current lookahead symbol matches token type t.
 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 LLkDebuggingParser.matchNot(int t)
           
 void ParseTreeDebugParser.match(int i)
           
 void ParseTreeDebugParser.match(BitSet bitSet)
           
 void ParseTreeDebugParser.matchNot(int i)
           
protected  void ParseTreeDebugParser.addCurrentTokenToParseTree()
          This adds LT(1) to the current parse subtree.
 void ParseTreeDebugParser.traceIn(java.lang.String s)
          Create a rule node, add to current tree, and make it current root
 void ParseTreeDebugParser.traceOut(java.lang.String s)
          Pop current root; back to adding to old root
 

Uses of TokenStreamException in antlr.preprocessor
 

Methods in antlr.preprocessor that throw TokenStreamException
 Token PreprocessorLexer.nextToken()
           
 void PreprocessorLexer.mRULE_BLOCK(boolean _createToken)
           
 void PreprocessorLexer.mWS(boolean _createToken)
           
protected  void PreprocessorLexer.mALT(boolean _createToken)
           
 void PreprocessorLexer.mSUBRULE_BLOCK(boolean _createToken)
           
protected  void PreprocessorLexer.mELEMENT(boolean _createToken)
           
 void PreprocessorLexer.mCOMMENT(boolean _createToken)
           
 void PreprocessorLexer.mACTION(boolean _createToken)
           
 void PreprocessorLexer.mSTRING_LITERAL(boolean _createToken)
           
 void PreprocessorLexer.mCHAR_LITERAL(boolean _createToken)
           
protected  void PreprocessorLexer.mNEWLINE(boolean _createToken)
           
 void PreprocessorLexer.mBANG(boolean _createToken)
           
 void PreprocessorLexer.mSEMI(boolean _createToken)
           
 void PreprocessorLexer.mCOMMA(boolean _createToken)
           
 void PreprocessorLexer.mRCURLY(boolean _createToken)
           
 void PreprocessorLexer.mLPAREN(boolean _createToken)
           
 void PreprocessorLexer.mRPAREN(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)
           
protected  void PreprocessorLexer.mCURLY_BLOCK_SCARF(boolean _createToken)
           
 void PreprocessorLexer.mASSIGN_RHS(boolean _createToken)
           
protected  void PreprocessorLexer.mSL_COMMENT(boolean _createToken)
           
protected  void PreprocessorLexer.mML_COMMENT(boolean _createToken)
           
protected  void PreprocessorLexer.mESC(boolean _createToken)
           
protected  void PreprocessorLexer.mDIGIT(boolean _createToken)
           
protected  void PreprocessorLexer.mXDIGIT(boolean _createToken)
           
 void PreprocessorLexer.mARG_ACTION(boolean _createToken)
           
 void Preprocessor.grammarFile(Hierarchy hier, java.lang.String file)
           
 IndexedVector Preprocessor.optionSpec(Grammar gr)
           
 Grammar Preprocessor.class_def(java.lang.String file, Hierarchy hier)
           
 java.lang.String Preprocessor.superClass()
           
 void Preprocessor.rule(Grammar gr)
           
 java.lang.String Preprocessor.throwsSpec()
           
 java.lang.String Preprocessor.exceptionGroup()
           
 java.lang.String Preprocessor.exceptionSpec()
           
 java.lang.String Preprocessor.exceptionHandler()