/external/antlr/runtime/C/src/ |
D | antlr3tokenstream.c | 126 if (stream->tstream->super == stream) in antlr3CTSFree() 128 if (stream->tstream->istream->super == stream->tstream) in antlr3CTSFree() 130 stream->tstream->istream->free(stream->tstream->istream); in antlr3CTSFree() 131 stream->tstream->istream = NULL; in antlr3CTSFree() 133 stream->tstream->free(stream->tstream); in antlr3CTSFree() 216 stream->tstream->debugger = debugger; in antlr3CommonTokenDebugStreamSourceNew() 220 stream->tstream->initialStreamState = ANTLR3_FALSE; in antlr3CommonTokenDebugStreamSourceNew() 222 stream->tstream->_LT = dbgTokLT; in antlr3CommonTokenDebugStreamSourceNew() 224 stream->tstream->istream->consume = dbgConsume; in antlr3CommonTokenDebugStreamSourceNew() 225 stream->tstream->istream->_LA = dbgLA; in antlr3CommonTokenDebugStreamSourceNew() [all …]
|
D | antlr3parser.c | 44 antlr3ParserNewStreamDbg (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_DEBUG_EVEN… in antlr3ParserNewStreamDbg() argument 48 parser = antlr3ParserNewStream(sizeHint, tstream, state); in antlr3ParserNewStreamDbg() 102 antlr3ParserNewStream (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_RECOGNIZER_SHA… in antlr3ParserNewStream() argument 116 parser->setTokenStream(parser, tstream); in antlr3ParserNewStream() 162 if (parser->tstream != NULL) in setDebugListener() 164 parser->tstream->setDebugListener(parser->tstream, dbg); in setDebugListener() 169 setTokenStream (pANTLR3_PARSER parser, pANTLR3_TOKEN_STREAM tstream) in setTokenStream() argument 171 parser->tstream = tstream; in setTokenStream() 178 return parser->tstream; in getTokenStream()
|
D | antlr3baserecognizer.c | 302 cts = (pANTLR3_COMMON_TOKEN_STREAM)(parser->tstream->super); in antlr3RecognitionExceptionNew() 303 is = parser->tstream->istream; in antlr3RecognitionExceptionNew() 347 ex->token = cts->tstream->_LT (cts->tstream, 1); /* Current input token */ in antlr3RecognitionExceptionNew() 350 ex->index = cts->tstream->istream->index (cts->tstream->istream); in antlr3RecognitionExceptionNew() 429 is = parser->tstream->istream; in match() 501 is = parser->tstream->istream; in matchAny() 659 is = parser->tstream->istream; in mismatch() 1064 is = parser->tstream->istream; in displayRecognitionError() 1335 is = parser->tstream->istream; in recover() 1447 is = parser->tstream->istream; in recoverFromMismatchedToken() [all …]
|
/external/antlr/runtime/Cpp/tests/ |
D | t051.cpp | 40 t051lexerTraits::TokenStreamType* tstream; in parseFile() local 64 tstream = new t051lexerTraits::TokenStreamType(ANTLR_SIZE_HINT, lxr->get_tokSource()); in parseFile() 71 T = tstream->_LA(1); in parseFile() 72 t051lexerTraits::CommonTokenType const* token = tstream->_LT(1); in parseFile() 76 tstream->_LT(1)->getText().c_str() in parseFile() 78 tstream->consume(); in parseFile() 82 tstream->_LT(1); // Don't do this mormally, just causes lexer to run for timings here in parseFile() 84 delete tstream; in parseFile()
|
D | t003.cpp | 83 …t003lexerTraits::TokenStreamType *tstream = new t003lexerTraits::TokenStreamType(ANTLR_SIZE_HINT, … in testIteratorInterface() local 84 t003lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface() 85 t003lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface() 86 t003lexerTraits::CommonTokenType const *token2 = tstream->_LT(3); in testIteratorInterface() 87 t003lexerTraits::CommonTokenType const *token3 = tstream->_LT(4); in testIteratorInterface() 94 delete tstream; in testIteratorInterface()
|
D | t002.cpp | 73 …t002lexerTraits::TokenStreamType *tstream = new t002lexerTraits::TokenStreamType(ANTLR_SIZE_HINT, … in testIteratorInterface() local 74 t002lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface() 75 t002lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface() 76 t002lexerTraits::CommonTokenType const *token2 = tstream->_LT(3); in testIteratorInterface() 82 delete tstream; in testIteratorInterface()
|
D | t001.cpp | 64 …t001lexerTraits::TokenStreamType *tstream = new t001lexerTraits::TokenStreamType(ANTLR_SIZE_HINT, … in testIteratorInterface() local 65 t001lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface() 66 t001lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface() 71 delete tstream; in testIteratorInterface()
|
D | t039.cpp | 75 …t039labelsLexerTraits::TokenStreamType *tstream = new t039labelsLexerTraits::TokenStreamType(ANTLR… in testValid() local 76 t039labelsParser *psr = new t039labelsParser(tstream); in testValid()
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3parser.hpp | 74 Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, RecognizerSharedStateType* state ); 75 Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, DebugEventListenerType* dbg,
|
D | antlr3parser.inl | 11 Parser<ImplTraits>::Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, argument 15 this->setTokenStream( tstream ); 19 Parser<ImplTraits>::Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, argument 24 this->setTokenStream( tstream ); 166 ANTLR_INLINE void Parser<ImplTraits>::setTokenStream(TokenStreamType* tstream) argument 168 m_tstream = tstream;
|
/external/antlr/runtime/C/doxygen/ |
D | buildrec.dox | 115 /// pANTLR3_COMMON_TOKEN_STREAM tstream; 197 /// tstream = antlr3CommonTokenStreamSourceNew(ANTLR3_SIZE_HINT, lxr->pLexer->tokSource); 199 /// if (tstream == NULL) 207 /// psr = LangParserNew(tstream); // CParserNew is generated by ANTLR3 262 /// tstream ->free (tstream); tstream = NULL;
|
D | changes31.dox | 53 /// tstream = antlr3CommonTokenStreamSourceNew(ANTLR3_SIZE_HINT, TOKENSOURCE(lxr));
|
/external/antlr/runtime/C/include/ |
D | antlr3parser.h | 64 pANTLR3_TOKEN_STREAM tstream; member
|
D | antlr3tokenstream.h | 198 pANTLR3_TOKEN_STREAM tstream; member
|
D | antlr3defs.h | 576 …reamDbg (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_DEBUG_EV… 577 …ream (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_RECOGNIZ…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | AST.stg | 44 ADAPTOR = ANTLR3_TREE_ADAPTORNew(instream->tstream->tokenSource->strFactory);<\n>
|
D | C.stg | 373 #define INPUT PARSER->tstream 1292 ctx->pParser = antlr3ParserNewStream(ANTLR3_SIZE_HINT, instream->tstream, state);
|