Home
last modified time | relevance | path

Searched refs:tstream (Results 1 – 10 of 10) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3tokenstream.c126 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 …]
Dantlr3parser.c44 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()
Dantlr3baserecognizer.c302 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/antlr-3.4/runtime/C/doxygen/
Dbuildrec.dox115 /// 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;
Dchanges31.dox53 /// tstream = antlr3CommonTokenStreamSourceNew(ANTLR3_SIZE_HINT, TOKENSOURCE(lxr));
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3parser.h64 pANTLR3_TOKEN_STREAM tstream; member
Dantlr3tokenstream.h198 pANTLR3_TOKEN_STREAM tstream; member
Dantlr3defs.h572 …reamDbg (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_DEBUG_EV…
573 …ream (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_RECOGNIZ…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DAST.stg44 ADAPTOR = ANTLR3_TREE_ADAPTORNew(instream->tstream->tokenSource->strFactory);<\n>
DC.stg373 #define INPUT PARSER->tstream
1292 ctx->pParser = antlr3ParserNewStream(ANTLR3_SIZE_HINT, instream->tstream, state);