Uses of Class
antlr.TokenStreamException

Packages that use TokenStreamException
  • Uses of TokenStreamException in antlr

    Subclasses of TokenStreamException in antlr
    Modifier and Type
    Class
    Description
    class 
    Wraps an IOException in a TokenStreamException
    class 
    Wraps a RecognitionException in a TokenStreamException so you can pass it along.
    class 
    Aborted recognition of current token.
    Methods in antlr that throw TokenStreamException
    Modifier and Type
    Method
    Description
    final void
    ANTLRParser.alternative()
     
    final int
    ANTLRParser.ast_type_spec()
     
    final void
    ANTLRParser.block()
     
    final BitSet
    ANTLRParser.charSet()
     
    final void
    ANTLRParser.classDef()
     
    void
    LLkParser.consume()
    Consume another token from the input stream.
    abstract void
    Parser.consume()
    Get another token object from the token stream
    protected void
    TokenStreamHiddenTokenFilter.consume()
     
    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
    final void
    ANTLRParser.ebnf(Token label, boolean not)
     
    final void
    ANTLRParser.element()
     
    final void
    ANTLRParser.elementNoOptionSpec()
     
    final void
    ANTLRParser.elementOptionSpec()
     
    final void
    ANTLRParser.exceptionGroup()
     
    final void
    ANTLRParser.exceptionHandler()
     
    final void
    ANTLRParser.exceptionSpec()
     
    final void
    ANTLRParser.exceptionSpecNoLabel()
     
    final void
    ANTLRTokdefParser.file(ImportVocabTokenManager tm)
     
    final void
    ANTLRParser.fileOptionsSpec()
     
    final void
    ANTLRParser.grammar()
     
    final Token
    ANTLRParser.id()
     
    int
    LLkParser.LA(int i)
     
    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).
    final int
    TokenBuffer.LA(int i)
    Get a lookahead token value
    final void
    ANTLRParser.lexerOptionsSpec()
     
    final void
    ANTLRParser.lexerSpec(String doc)
     
    final void
    ANTLRTokdefParser.line(ImportVocabTokenManager tm)
     
    LLkParser.LT(int i)
     
    abstract Token
    Parser.LT(int i)
    Return the ith token of lookahead
    final Token
    TokenBuffer.LT(int i)
    Get a lookahead token
    final void
    ANTLRLexer.mACTION(boolean _createToken)
     
    final void
    ANTLRLexer.mARG_ACTION(boolean _createToken)
     
    final void
    ANTLRLexer.mASSIGN(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mASSIGN(boolean _createToken)
     
    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)
     
    final void
    ANTLRLexer.mBANG(boolean _createToken)
     
    final void
    ANTLRLexer.mCARET(boolean _createToken)
     
    final void
    ANTLRLexer.mCHAR_LITERAL(boolean _createToken)
     
    final void
    ANTLRLexer.mCLOSE_ELEMENT_OPTION(boolean _createToken)
     
    final void
    ANTLRLexer.mCOLON(boolean _createToken)
     
    final void
    ANTLRLexer.mCOMMA(boolean _createToken)
     
    final void
    ANTLRLexer.mCOMMENT(boolean _createToken)
     
    protected final void
    ANTLRLexer.mDIGIT(boolean _createToken)
     
    protected final void
    ANTLRTokdefLexer.mDIGIT(boolean _createToken)
     
    protected final void
    ANTLRLexer.mESC(boolean _createToken)
     
    protected final void
    ANTLRTokdefLexer.mESC(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mID(boolean _createToken)
     
    final void
    ANTLRLexer.mIMPLIES(boolean _createToken)
     
    final void
    ANTLRLexer.mINT(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mINT(boolean _createToken)
     
    protected final int
    ANTLRLexer.mINTERNAL_RULE_REF(boolean _createToken)
     
    final void
    ANTLRLexer.mLPAREN(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mLPAREN(boolean _createToken)
     
    protected final void
    ANTLRLexer.mML_COMMENT(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mML_COMMENT(boolean _createToken)
     
    protected final void
    ANTLRLexer.mNESTED_ACTION(boolean _createToken)
     
    protected final void
    ANTLRLexer.mNESTED_ARG_ACTION(boolean _createToken)
     
    final void
    ANTLRLexer.mNOT_OP(boolean _createToken)
     
    final void
    ANTLRLexer.mOPEN_ELEMENT_OPTION(boolean _createToken)
     
    final void
    ANTLRLexer.mOR(boolean _createToken)
     
    final void
    ANTLRLexer.mPLUS(boolean _createToken)
     
    final void
    ANTLRLexer.mQUESTION(boolean _createToken)
     
    final void
    ANTLRLexer.mRANGE(boolean _createToken)
     
    final void
    ANTLRLexer.mRCURLY(boolean _createToken)
     
    final void
    ANTLRLexer.mRPAREN(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mRPAREN(boolean _createToken)
     
    final void
    ANTLRLexer.mRULE_REF(boolean _createToken)
     
    final void
    ANTLRLexer.mSEMI(boolean _createToken)
     
    protected final void
    ANTLRLexer.mSL_COMMENT(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mSL_COMMENT(boolean _createToken)
     
    final void
    ANTLRLexer.mSTAR(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mSTRING(boolean _createToken)
     
    final void
    ANTLRLexer.mSTRING_LITERAL(boolean _createToken)
     
    final void
    ANTLRLexer.mTOKEN_REF(boolean _createToken)
     
    final void
    ANTLRLexer.mTREE_BEGIN(boolean _createToken)
     
    final void
    ANTLRLexer.mWILDCARD(boolean _createToken)
     
    final void
    ANTLRLexer.mWS(boolean _createToken)
     
    final void
    ANTLRTokdefLexer.mWS(boolean _createToken)
     
    protected final void
    ANTLRLexer.mWS_LOOP(boolean _createToken)
     
    protected final void
    ANTLRLexer.mWS_OPT(boolean _createToken)
     
    protected final void
    ANTLRLexer.mXDIGIT(boolean _createToken)
     
    protected final void
    ANTLRTokdefLexer.mXDIGIT(boolean _createToken)
     
    ANTLRLexer.nextToken()
     
    ANTLRTokdefLexer.nextToken()
     
    TokenStream.nextToken()
     
    TokenStreamBasicFilter.nextToken()
     
    TokenStreamHiddenTokenFilter.nextToken()
    Return the next monitored token.
    TokenStreamRewriteEngine.nextToken()
     
    TokenStreamSelector.nextToken()
     
    final void
    ANTLRParser.notTerminal(Token label)
     
    final Token
    ANTLRParser.optionValue()
     
    final void
    ANTLRParser.parserOptionsSpec()
     
    final void
    ANTLRParser.parserSpec(String doc)
     
    final 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.
    final void
    ANTLRParser.range(Token label)
     
    void
    Parser.recover(RecognitionException ex, BitSet tokenSet)
     
    final void
    ANTLRParser.rootNode()
     
    final void
    ANTLRParser.rule()
     
    final void
    ANTLRParser.ruleOptionsSpec()
     
    final void
    ANTLRParser.rules()
     
    final BitSet
    ANTLRParser.setBlockElement()
     
    final void
    ANTLRParser.subruleOptionsSpec()
     
    final String
    ANTLRParser.superClass()
     
    final void
    ANTLRParser.terminal(Token label)
     
    final void
    ANTLRParser.throwsSpec()
     
    final void
    ANTLRParser.tokensSpec()
     
    final void
    ANTLRParser.tokensSpecOptions(Token t)
     
    void
    LLkParser.traceIn(String rname)
     
    void
    Parser.traceIn(String rname)
     
    void
    LLkParser.traceOut(String rname)
     
    void
    Parser.traceOut(String rname)
     
    final void
    ANTLRParser.tree()
     
    final void
    ANTLRParser.treeParserOptionsSpec()
     
    final 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

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

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

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

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

    Methods in antlr.debug that throw TokenStreamException
    Modifier and Type
    Method
    Description
    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
    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
    ParseTreeDebugParser.match(int i)
     
    void
    ParseTreeDebugParser.match(BitSet bitSet)
     
    void
    LLkDebuggingParser.matchNot(int t)
     
    void
    ParseTreeDebugParser.matchNot(int i)
     
    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

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