Uses of Class antlr.TokenStreamException

Uses in package antlr

Classes derived from antlr.TokenStreamException

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 which throw type antlr.TokenStreamException

int
LLkParser.LA(int i)
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
TokenBuffer.LA(int i)
Get a lookahead token value
Token
LLkParser.LT(int i)
Token
Parser.LT(int i)
Return the ith token of lookahead
Token
TokenBuffer.LT(int i)
Get a lookahead token
void
int
void
BitSet
void
void
Consume another token from the input stream.
void
Get another token object from the token stream
void
void
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
void
void
void
void
void
void
void
void
void
Token
void
void
ANTLRParser.lexerSpec(String doc)
void
void
ANTLRLexer.mACTION(boolean _createToken)
void
ANTLRLexer.mARG_ACTION(boolean _createToken)
void
ANTLRLexer.mASSIGN(boolean _createToken)
void
ANTLRTokdefLexer.mASSIGN(boolean _createToken)
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)
void
ANTLRLexer.mDIGIT(boolean _createToken)
void
ANTLRTokdefLexer.mDIGIT(boolean _createToken)
void
ANTLRLexer.mESC(boolean _createToken)
void
ANTLRTokdefLexer.mESC(boolean _createToken)
void
ANTLRTokdefLexer.mID(boolean _createToken)
void
ANTLRLexer.mIMPLIES(boolean _createToken)
void
ANTLRLexer.mINT(boolean _createToken)
void
ANTLRTokdefLexer.mINT(boolean _createToken)
int
ANTLRLexer.mINTERNAL_RULE_REF(boolean _createToken)
void
ANTLRLexer.mLPAREN(boolean _createToken)
void
ANTLRTokdefLexer.mLPAREN(boolean _createToken)
void
ANTLRLexer.mML_COMMENT(boolean _createToken)
void
ANTLRTokdefLexer.mML_COMMENT(boolean _createToken)
void
ANTLRLexer.mNESTED_ACTION(boolean _createToken)
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
ANTLRLexer.mRPAREN(boolean _createToken)
void
ANTLRTokdefLexer.mRPAREN(boolean _createToken)
void
ANTLRLexer.mRULE_REF(boolean _createToken)
void
ANTLRLexer.mSEMI(boolean _createToken)
void
ANTLRLexer.mSL_COMMENT(boolean _createToken)
void
ANTLRTokdefLexer.mSL_COMMENT(boolean _createToken)
void
ANTLRLexer.mSTAR(boolean _createToken)
void
ANTLRTokdefLexer.mSTRING(boolean _createToken)
void
ANTLRLexer.mSTRING_LITERAL(boolean _createToken)
void
ANTLRLexer.mTOKEN_REF(boolean _createToken)
void
ANTLRLexer.mTREE_BEGIN(boolean _createToken)
void
ANTLRLexer.mWILDCARD(boolean _createToken)
void
ANTLRLexer.mWS(boolean _createToken)
void
ANTLRTokdefLexer.mWS(boolean _createToken)
void
ANTLRLexer.mWS_LOOP(boolean _createToken)
void
ANTLRLexer.mWS_OPT(boolean _createToken)
void
ANTLRLexer.mXDIGIT(boolean _createToken)
void
ANTLRTokdefLexer.mXDIGIT(boolean _createToken)
void
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
Token
Token
Token
Token
Token
Return the next monitored token.
Token
Token
void
Token
void
void
ANTLRParser.parserSpec(String doc)
Token
Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token.
void
void
void
void
void
void
BitSet
void
String
void
void
void
void
void
LLkParser.traceIn(String rname)
void
Parser.traceIn(String rname)
void
LLkParser.traceOut(String rname)
void
Parser.traceOut(String rname)
void
void
void
void
This method is called by YourLexer.nextToken() when the lexer has hit EOF condition.

Uses in package antlr.actions.cpp

Methods which throw type antlr.TokenStreamException

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

Uses in package antlr.actions.csharp

Methods which throw type antlr.TokenStreamException

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

Uses in package antlr.actions.java

Methods which throw type antlr.TokenStreamException

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

Uses in package antlr.actions.python

Methods which throw type antlr.TokenStreamException

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

Uses in package antlr.debug

Methods which throw type antlr.TokenStreamException

int
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
This adds LT(1) to the current parse subtree.
void
Get another token object from the token stream
void
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
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
Make sure current lookahead symbol matches token type t.
void
Make sure current lookahead symbol matches token type t.
void
void
void
Create a rule node, add to current tree, and make it current root
void
Pop current root; back to adding to old root

Uses in package antlr.preprocessor

Methods which throw type antlr.TokenStreamException

Grammar
Preprocessor.class_def(String file, Hierarchy hier)
String
String
String
void
Preprocessor.grammarFile(Hierarchy hier, String file)
void
PreprocessorLexer.mACTION(boolean _createToken)
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)
void
PreprocessorLexer.mCURLY_BLOCK_SCARF(boolean _createToken)
void
PreprocessorLexer.mDIGIT(boolean _createToken)
void
PreprocessorLexer.mELEMENT(boolean _createToken)
void
PreprocessorLexer.mESC(boolean _createToken)
void
PreprocessorLexer.mID(boolean _createToken)
void
PreprocessorLexer.mID_OR_KEYWORD(boolean _createToken)
This rule picks off keywords in the lexer that need to be handled specially.
void
PreprocessorLexer.mLPAREN(boolean _createToken)
void
PreprocessorLexer.mML_COMMENT(boolean _createToken)
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)
void
PreprocessorLexer.mSL_COMMENT(boolean _createToken)
void
PreprocessorLexer.mSTRING_LITERAL(boolean _createToken)
void
PreprocessorLexer.mSUBRULE_BLOCK(boolean _createToken)
void
PreprocessorLexer.mWS(boolean _createToken)
void
PreprocessorLexer.mXDIGIT(boolean _createToken)
Token
IndexedVector
void
String
String