Home
last modified time | relevance | path

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

/external/antlr/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/runtime/Cpp/include/
Dantlr3tokenstream.inl90 TokenType& teof = m_eofToken; local
92 teof.set_startIndex(lexer->getCharIndex());
93 teof.set_stopIndex(lexer->getCharIndex());
94 teof.set_line(lexer->getLine());
95 return &teof;
175 CommonTokenType& teof = m_eofToken; local
177 teof.set_startIndex(lexer->getCharIndex());
178 teof.set_stopIndex(lexer->getCharIndex());
179 teof.set_line(lexer->getLine());
180 return &teof;
[all …]
/external/antlr/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;
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg761 CommonTokenType& teof = m_eofToken;
763 teof.set_startIndex(lexer->getCharIndex());
764 teof.set_stopIndex(lexer->getCharIndex());
765 teof.setLine(lexer->getLine());
766 return &teof;