Home
last modified time | relevance | path

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

/external/antlr/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()
701 if (lexer->rec->state->tokFactory != NULL) in freeLexer()
703 lexer->rec->state->tokFactory->close(lexer->rec->state->tokFactory); in freeLexer()
704 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()
2197 if (recognizer->state->tokFactory == NULL) in getMissingSymbol()
2203 recognizer->state->tokFactory = antlr3TokenFactoryNew(current->input); in getMissingSymbol()
2205 token = recognizer->state->tokFactory->newToken(recognizer->state->tokFactory); in getMissingSymbol()
/external/antlr/runtime/C/include/
Dantlr3recognizersharedstate.h147 pANTLR3_TOKEN_FACTORY tokFactory; member
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg2163 <label> = LEXSTATE->tokFactory->newToken(LEXSTATE->tokFactory);
2232 <label> = LEXSTATE->tokFactory->newToken(LEXSTATE->tokFactory);
2259 <label> = LEXSTATE->tokFactory->newToken(LEXSTATE->tokFactory);