Home
last modified time | relevance | path

Searched refs:tokFactory (Results 1 – 4 of 4) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3lexer.c124 lexer->rec->state->tokFactory = NULL; in antlr3LexerNew()
193 if (lexer->rec->state->tokFactory != NULL) in reset()
195 lexer->rec->state->tokFactory->reset(lexer->rec->state->tokFactory); in reset()
503 if (lexer->rec->state->tokFactory == NULL) in setCharStream()
505 lexer->rec->state->tokFactory = antlr3TokenFactoryNew(input); in setCharStream()
515 lexer->rec->state->tokFactory->setInputStream(lexer->rec->state->tokFactory, input); in setCharStream()
651 token = lexer->rec->state->tokFactory->newToken(lexer->rec->state->tokFactory); in emit()
700 if (lexer->rec->state->tokFactory != NULL) in freeLexer()
702 lexer->rec->state->tokFactory->close(lexer->rec->state->tokFactory); in freeLexer()
703 lexer->rec->state->tokFactory = NULL; in freeLexer()
Dantlr3baserecognizer.c125 recognizer->state->tokFactory = NULL; in antlr3BaseRecognizerNew()
231 if (recognizer->state->tokFactory != NULL) in freeBR()
233 recognizer->state->tokFactory->close(recognizer->state->tokFactory); in freeBR()
2190 if (recognizer->state->tokFactory == NULL) in getMissingSymbol()
2196 recognizer->state->tokFactory = antlr3TokenFactoryNew(current->input); in getMissingSymbol()
2198 token = recognizer->state->tokFactory->newToken(recognizer->state->tokFactory); in getMissingSymbol()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3recognizersharedstate.h147 pANTLR3_TOKEN_FACTORY tokFactory; member
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg2168 <label> = LEXSTATE->tokFactory->newToken(LEXSTATE->tokFactory);
2237 <label> = LEXSTATE->tokFactory->newToken(LEXSTATE->tokFactory);
2264 <label> = LEXSTATE->tokFactory->newToken(LEXSTATE->tokFactory);