Home
last modified time | relevance | path

Searched refs:teof (Results 1 – 3 of 3) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3tokenstream.c377 pANTLR3_COMMON_TOKEN teof = &(ts->tokenSource->eofToken); in tokLT() local
379 teof->setStartIndex (teof, ts->istream->index (ts->istream)); in tokLT()
380 teof->setStopIndex (teof, ts->istream->index (ts->istream)); in tokLT()
381 return teof; in tokLT()
397 pANTLR3_COMMON_TOKEN teof = &(ts->tokenSource->eofToken); in tokLT() local
399 teof->setStartIndex (teof, ts->istream->index(ts->istream)); in tokLT()
400 teof->setStopIndex (teof, ts->istream->index(ts->istream)); in tokLT()
401 return teof; in tokLT()
Dantlr3lexer.c261 pANTLR3_COMMON_TOKEN teof = &(toksource->eofToken); in nextTokenStr() local
263 teof->setStartIndex (teof, lexer->getCharIndex(lexer)); in nextTokenStr()
264 teof->setStopIndex (teof, lexer->getCharIndex(lexer)); in nextTokenStr()
265 teof->setLine (teof, lexer->getLine(lexer)); in nextTokenStr()
266teof->factoryMade = ANTLR3_TRUE; // This isn't really manufactured but it stops things from trying… in nextTokenStr()
267 return teof; in nextTokenStr()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg1125 pANTLR3_COMMON_TOKEN teof = &(toksource->eofToken);
1127 teof->setStartIndex (teof, lexer->getCharIndex(lexer));
1128 teof->setStopIndex (teof, lexer->getCharIndex(lexer));
1129 teof->setLine (teof, lexer->getLine(lexer));
1130 return teof;