Searched refs:teof (Results 1 – 3 of 3) sorted by relevance
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3tokenstream.c | 377 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()
|
D | antlr3lexer.c | 261 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() 266 …teof->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/ |
D | C.stg | 1125 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;
|