Uses of Class
antlr.TokenStreamException
-
Packages that use TokenStreamException Package Description 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 Modifier and Type Class Description classTokenStreamIOExceptionWraps an IOException in a TokenStreamExceptionclassTokenStreamRecognitionExceptionWraps a RecognitionException in a TokenStreamException so you can pass it along.classTokenStreamRetryExceptionAborted recognition of current token.Methods in antlr that throw TokenStreamException Modifier and Type Method Description voidANTLRParser. alternative()intANTLRParser. ast_type_spec()voidANTLRParser. block()BitSetANTLRParser. charSet()voidANTLRParser. classDef()voidLLkParser. consume()Consume another token from the input stream.abstract voidParser. consume()Get another token object from the token streamprotected voidTokenStreamHiddenTokenFilter. consume()voidParser. consumeUntil(int tokenType)Consume tokens until one matches the given tokenvoidParser. consumeUntil(BitSet set)Consume tokens until one matches the given token setvoidANTLRParser. ebnf(Token label, boolean not)voidANTLRParser. element()voidANTLRParser. elementNoOptionSpec()voidANTLRParser. elementOptionSpec()voidANTLRParser. exceptionGroup()voidANTLRParser. exceptionHandler()voidANTLRParser. exceptionSpec()voidANTLRParser. exceptionSpecNoLabel()voidANTLRTokdefParser. file(ImportVocabTokenManager tm)voidANTLRParser. fileOptionsSpec()voidANTLRParser. grammar()TokenANTLRParser. id()intLLkParser. LA(int i)abstract intParser. 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).intTokenBuffer. LA(int i)Get a lookahead token valuevoidANTLRParser. lexerOptionsSpec()voidANTLRParser. lexerSpec(java.lang.String doc)voidANTLRTokdefParser. line(ImportVocabTokenManager tm)TokenLLkParser. LT(int i)abstract TokenParser. LT(int i)Return the ith token of lookaheadTokenTokenBuffer. LT(int i)Get a lookahead tokenvoidANTLRLexer. mACTION(boolean _createToken)voidANTLRLexer. mARG_ACTION(boolean _createToken)voidANTLRLexer. mASSIGN(boolean _createToken)voidANTLRTokdefLexer. mASSIGN(boolean _createToken)voidParser. match(int t)Make sure current lookahead symbol matches token type t.voidParser. 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.voidParser. matchNot(int t)voidANTLRLexer. mBANG(boolean _createToken)voidANTLRLexer. mCARET(boolean _createToken)voidANTLRLexer. mCHAR_LITERAL(boolean _createToken)voidANTLRLexer. mCLOSE_ELEMENT_OPTION(boolean _createToken)voidANTLRLexer. mCOLON(boolean _createToken)voidANTLRLexer. mCOMMA(boolean _createToken)voidANTLRLexer. mCOMMENT(boolean _createToken)protected voidANTLRLexer. mDIGIT(boolean _createToken)protected voidANTLRTokdefLexer. mDIGIT(boolean _createToken)protected voidANTLRLexer. mESC(boolean _createToken)protected voidANTLRTokdefLexer. mESC(boolean _createToken)voidANTLRTokdefLexer. mID(boolean _createToken)voidANTLRLexer. mIMPLIES(boolean _createToken)voidANTLRLexer. mINT(boolean _createToken)voidANTLRTokdefLexer. mINT(boolean _createToken)protected intANTLRLexer. mINTERNAL_RULE_REF(boolean _createToken)voidANTLRLexer. mLPAREN(boolean _createToken)voidANTLRTokdefLexer. mLPAREN(boolean _createToken)protected voidANTLRLexer. mML_COMMENT(boolean _createToken)voidANTLRTokdefLexer. mML_COMMENT(boolean _createToken)protected voidANTLRLexer. mNESTED_ACTION(boolean _createToken)protected voidANTLRLexer. mNESTED_ARG_ACTION(boolean _createToken)voidANTLRLexer. mNOT_OP(boolean _createToken)voidANTLRLexer. mOPEN_ELEMENT_OPTION(boolean _createToken)voidANTLRLexer. mOR(boolean _createToken)voidANTLRLexer. mPLUS(boolean _createToken)voidANTLRLexer. mQUESTION(boolean _createToken)voidANTLRLexer. mRANGE(boolean _createToken)voidANTLRLexer. mRCURLY(boolean _createToken)voidANTLRLexer. mRPAREN(boolean _createToken)voidANTLRTokdefLexer. mRPAREN(boolean _createToken)voidANTLRLexer. mRULE_REF(boolean _createToken)voidANTLRLexer. mSEMI(boolean _createToken)protected voidANTLRLexer. mSL_COMMENT(boolean _createToken)voidANTLRTokdefLexer. mSL_COMMENT(boolean _createToken)voidANTLRLexer. mSTAR(boolean _createToken)voidANTLRTokdefLexer. mSTRING(boolean _createToken)voidANTLRLexer. mSTRING_LITERAL(boolean _createToken)voidANTLRLexer. mTOKEN_REF(boolean _createToken)voidANTLRLexer. mTREE_BEGIN(boolean _createToken)voidANTLRLexer. mWILDCARD(boolean _createToken)voidANTLRLexer. mWS(boolean _createToken)voidANTLRTokdefLexer. mWS(boolean _createToken)protected voidANTLRLexer. mWS_LOOP(boolean _createToken)protected voidANTLRLexer. mWS_OPT(boolean _createToken)protected voidANTLRLexer. mXDIGIT(boolean _createToken)protected voidANTLRTokdefLexer. mXDIGIT(boolean _createToken)TokenANTLRLexer. nextToken()TokenANTLRTokdefLexer. nextToken()TokenTokenStream. nextToken()TokenTokenStreamBasicFilter. nextToken()TokenTokenStreamHiddenTokenFilter. nextToken()Return the next monitored token.TokenTokenStreamRewriteEngine. nextToken()TokenTokenStreamSelector. nextToken()voidANTLRParser. notTerminal(Token label)TokenANTLRParser. optionValue()voidANTLRParser. parserOptionsSpec()voidANTLRParser. parserSpec(java.lang.String doc)TokenANTLRParser. qualifiedID()Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token.voidANTLRParser. range(Token label)voidParser. recover(RecognitionException ex, BitSet tokenSet)voidANTLRParser. rootNode()voidANTLRParser. rule()voidANTLRParser. ruleOptionsSpec()voidANTLRParser. rules()BitSetANTLRParser. setBlockElement()voidANTLRParser. subruleOptionsSpec()java.lang.StringANTLRParser. superClass()voidANTLRParser. terminal(Token label)voidANTLRParser. throwsSpec()voidANTLRParser. tokensSpec()voidANTLRParser. tokensSpecOptions(Token t)voidLLkParser. traceIn(java.lang.String rname)voidParser. traceIn(java.lang.String rname)voidLLkParser. traceOut(java.lang.String rname)voidParser. traceOut(java.lang.String rname)voidANTLRParser. tree()voidANTLRParser. treeParserOptionsSpec()voidANTLRParser. treeParserSpec(java.lang.String doc)voidCharScanner. 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 Modifier and Type Method Description voidActionLexer. mACTION(boolean _createToken)protected voidActionLexer. mARG(boolean _createToken)protected voidActionLexer. mAST_CONSTRUCTOR(boolean _createToken)protected voidActionLexer. mAST_CTOR_ELEMENT(boolean _createToken)The arguments of a #[...] constructor are text, token type, or a tree.protected voidActionLexer. mAST_ITEM(boolean _createToken)protected voidActionLexer. mCHAR(boolean _createToken)protected voidActionLexer. mCOMMENT(boolean _createToken)protected voidActionLexer. mDIGIT(boolean _createToken)protected voidActionLexer. mESC(boolean _createToken)protected voidActionLexer. mID(boolean _createToken)protected booleanActionLexer. mID_ELEMENT(boolean _createToken)An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.protected voidActionLexer. mINT(boolean _createToken)protected voidActionLexer. mINT_OR_FLOAT(boolean _createToken)protected voidActionLexer. mML_COMMENT(boolean _createToken)protected voidActionLexer. mSL_COMMENT(boolean _createToken)protected voidActionLexer. mSTRING(boolean _createToken)protected voidActionLexer. mSTUFF(boolean _createToken)stuff in between #(...) and #id items Allow the escaping of the # for C preprocessor stuff.protected voidActionLexer. mTEXT_ARG(boolean _createToken)protected voidActionLexer. mTEXT_ARG_ELEMENT(boolean _createToken)protected voidActionLexer. mTEXT_ARG_ID_ELEMENT(boolean _createToken)protected voidActionLexer. mTEXT_ITEM(boolean _createToken)protected voidActionLexer. mTREE(boolean _createToken)protected voidActionLexer. mTREE_ELEMENT(boolean _createToken)protected voidActionLexer. mVAR_ASSIGN(boolean _createToken)protected voidActionLexer. mWS(boolean _createToken)TokenActionLexer. nextToken() -
Uses of TokenStreamException in antlr.actions.csharp
Methods in antlr.actions.csharp that throw TokenStreamException Modifier and Type Method Description voidActionLexer. mACTION(boolean _createToken)protected voidActionLexer. mARG(boolean _createToken)protected voidActionLexer. mAST_CONSTRUCTOR(boolean _createToken)protected voidActionLexer. mAST_CTOR_ELEMENT(boolean _createToken)The arguments of a #[...] constructor are text, token type, or a tree.protected voidActionLexer. mAST_ITEM(boolean _createToken)protected voidActionLexer. mCHAR(boolean _createToken)protected voidActionLexer. mCOMMENT(boolean _createToken)protected voidActionLexer. mDIGIT(boolean _createToken)protected voidActionLexer. mESC(boolean _createToken)protected voidActionLexer. mID(boolean _createToken)protected booleanActionLexer. mID_ELEMENT(boolean _createToken)An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.protected voidActionLexer. mINT(boolean _createToken)protected voidActionLexer. mINT_OR_FLOAT(boolean _createToken)protected voidActionLexer. mML_COMMENT(boolean _createToken)protected voidActionLexer. mSL_COMMENT(boolean _createToken)protected voidActionLexer. mSTRING(boolean _createToken)protected voidActionLexer. mSTUFF(boolean _createToken)stuff in between #(...) and #id items Allow the escaping of the # for C# preprocessor stuff.protected voidActionLexer. mTEXT_ARG(boolean _createToken)protected voidActionLexer. mTEXT_ARG_ELEMENT(boolean _createToken)protected voidActionLexer. mTEXT_ARG_ID_ELEMENT(boolean _createToken)protected voidActionLexer. mTEXT_ITEM(boolean _createToken)protected voidActionLexer. mTREE(boolean _createToken)protected voidActionLexer. mTREE_ELEMENT(boolean _createToken)protected voidActionLexer. mVAR_ASSIGN(boolean _createToken)protected voidActionLexer. mWS(boolean _createToken)TokenActionLexer. nextToken() -
Uses of TokenStreamException in antlr.actions.java
Methods in antlr.actions.java that throw TokenStreamException Modifier and Type Method Description voidActionLexer. mACTION(boolean _createToken)protected voidActionLexer. mARG(boolean _createToken)protected voidActionLexer. mAST_CONSTRUCTOR(boolean _createToken)protected voidActionLexer. mAST_CTOR_ELEMENT(boolean _createToken)The arguments of a #[...] constructor are text, token type, or a tree.protected voidActionLexer. mAST_ITEM(boolean _createToken)protected voidActionLexer. mCHAR(boolean _createToken)protected voidActionLexer. mCOMMENT(boolean _createToken)protected voidActionLexer. mDIGIT(boolean _createToken)protected voidActionLexer. mESC(boolean _createToken)protected voidActionLexer. mID(boolean _createToken)protected booleanActionLexer. mID_ELEMENT(boolean _createToken)An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.protected voidActionLexer. mINT(boolean _createToken)protected voidActionLexer. mINT_OR_FLOAT(boolean _createToken)protected voidActionLexer. mML_COMMENT(boolean _createToken)protected voidActionLexer. mSL_COMMENT(boolean _createToken)protected voidActionLexer. mSTRING(boolean _createToken)protected voidActionLexer. mSTUFF(boolean _createToken)protected voidActionLexer. mTEXT_ARG(boolean _createToken)protected voidActionLexer. mTEXT_ARG_ELEMENT(boolean _createToken)protected voidActionLexer. mTEXT_ARG_ID_ELEMENT(boolean _createToken)protected voidActionLexer. mTEXT_ITEM(boolean _createToken)protected voidActionLexer. mTREE(boolean _createToken)protected voidActionLexer. mTREE_ELEMENT(boolean _createToken)protected voidActionLexer. mVAR_ASSIGN(boolean _createToken)protected voidActionLexer. mWS(boolean _createToken)TokenActionLexer. nextToken() -
Uses of TokenStreamException in antlr.actions.python
Methods in antlr.actions.python that throw TokenStreamException Modifier and Type Method Description voidActionLexer. mACTION(boolean _createToken)voidCodeLexer. mACTION(boolean _createToken)protected voidActionLexer. mARG(boolean _createToken)protected voidActionLexer. mAST_CONSTRUCTOR(boolean _createToken)protected voidActionLexer. mAST_CTOR_ELEMENT(boolean _createToken)The arguments of a #[...] constructor are text, token type, or a tree.protected voidActionLexer. mAST_ITEM(boolean _createToken)protected voidActionLexer. mCHAR(boolean _createToken)protected voidActionLexer. mCOMMENT(boolean _createToken)protected voidCodeLexer. mCOMMENT(boolean _createToken)protected voidActionLexer. mDIGIT(boolean _createToken)protected voidActionLexer. mESC(boolean _createToken)protected voidActionLexer. mID(boolean _createToken)protected booleanActionLexer. mID_ELEMENT(boolean _createToken)An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.protected voidActionLexer. mIGNWS(boolean _createToken)protected voidCodeLexer. mIGNWS(boolean _createToken)protected voidActionLexer. mINT(boolean _createToken)protected voidActionLexer. mINT_OR_FLOAT(boolean _createToken)protected voidActionLexer. mML_COMMENT(boolean _createToken)protected voidCodeLexer. mML_COMMENT(boolean _createToken)protected voidActionLexer. mSL_COMMENT(boolean _createToken)protected voidCodeLexer. mSL_COMMENT(boolean _createToken)protected voidActionLexer. mSTRING(boolean _createToken)protected voidActionLexer. mSTUFF(boolean _createToken)protected voidCodeLexer. mSTUFF(boolean _createToken)protected voidActionLexer. mTEXT_ARG(boolean _createToken)protected voidActionLexer. mTEXT_ARG_ELEMENT(boolean _createToken)protected voidActionLexer. mTEXT_ARG_ID_ELEMENT(boolean _createToken)protected voidActionLexer. mTEXT_ITEM(boolean _createToken)protected voidActionLexer. mTREE(boolean _createToken)protected voidActionLexer. mTREE_ELEMENT(boolean _createToken)protected voidActionLexer. mVAR_ASSIGN(boolean _createToken)protected voidActionLexer. mWS(boolean _createToken)TokenActionLexer. nextToken()TokenCodeLexer. nextToken() -
Uses of TokenStreamException in antlr.debug
Methods in antlr.debug that throw TokenStreamException Modifier and Type Method Description protected voidParseTreeDebugParser. addCurrentTokenToParseTree()This adds LT(1) to the current parse subtree.voidLLkDebuggingParser. consume()Get another token object from the token streamintLLkDebuggingParser. 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).voidLLkDebuggingParser. match(int t)Make sure current lookahead symbol matches token type t.voidLLkDebuggingParser. 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.voidParseTreeDebugParser. match(int i)voidParseTreeDebugParser. match(BitSet bitSet)voidLLkDebuggingParser. matchNot(int t)voidParseTreeDebugParser. matchNot(int i)voidParseTreeDebugParser. traceIn(java.lang.String s)Create a rule node, add to current tree, and make it current rootvoidParseTreeDebugParser. 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 Modifier and Type Method Description GrammarPreprocessor. class_def(java.lang.String file, Hierarchy hier)java.lang.StringPreprocessor. exceptionGroup()java.lang.StringPreprocessor. exceptionHandler()java.lang.StringPreprocessor. exceptionSpec()voidPreprocessor. grammarFile(Hierarchy hier, java.lang.String file)voidPreprocessorLexer. mACTION(boolean _createToken)protected voidPreprocessorLexer. mALT(boolean _createToken)voidPreprocessorLexer. mARG_ACTION(boolean _createToken)voidPreprocessorLexer. mASSIGN_RHS(boolean _createToken)voidPreprocessorLexer. mBANG(boolean _createToken)voidPreprocessorLexer. mCHAR_LITERAL(boolean _createToken)voidPreprocessorLexer. mCOMMA(boolean _createToken)voidPreprocessorLexer. mCOMMENT(boolean _createToken)protected voidPreprocessorLexer. mCURLY_BLOCK_SCARF(boolean _createToken)protected voidPreprocessorLexer. mDIGIT(boolean _createToken)protected voidPreprocessorLexer. mELEMENT(boolean _createToken)protected voidPreprocessorLexer. mESC(boolean _createToken)protected voidPreprocessorLexer. mID(boolean _createToken)voidPreprocessorLexer. mID_OR_KEYWORD(boolean _createToken)This rule picks off keywords in the lexer that need to be handled specially.voidPreprocessorLexer. mLPAREN(boolean _createToken)protected voidPreprocessorLexer. mML_COMMENT(boolean _createToken)protected voidPreprocessorLexer. mNEWLINE(boolean _createToken)voidPreprocessorLexer. mRCURLY(boolean _createToken)voidPreprocessorLexer. mRPAREN(boolean _createToken)voidPreprocessorLexer. mRULE_BLOCK(boolean _createToken)voidPreprocessorLexer. mSEMI(boolean _createToken)protected voidPreprocessorLexer. mSL_COMMENT(boolean _createToken)voidPreprocessorLexer. mSTRING_LITERAL(boolean _createToken)voidPreprocessorLexer. mSUBRULE_BLOCK(boolean _createToken)voidPreprocessorLexer. mWS(boolean _createToken)protected voidPreprocessorLexer. mXDIGIT(boolean _createToken)TokenPreprocessorLexer. nextToken()IndexedVectorPreprocessor. optionSpec(Grammar gr)voidPreprocessor. rule(Grammar gr)java.lang.StringPreprocessor. superClass()java.lang.StringPreprocessor. throwsSpec()
-