Lines Matching refs:tokSource
105 if (lexer->rec->state->tokSource == NULL)
107 lexer->rec->state->tokSource = (pANTLR3_TOKEN_SOURCE)ANTLR3_MALLOC(sizeof(ANTLR3_TOKEN_SOURCE));
109 if (lexer->rec->state->tokSource == NULL)
116 lexer->rec->state->tokSource->super = lexer;
121 lexer->rec->state->tokSource->nextToken = nextToken;
122 lexer->rec->state->tokSource->strFactory = NULL;
149 specialT = &(lexer->rec->state->tokSource->eofToken);
157 specialT = &(lexer->rec->state->tokSource->skipToken);
501 if (lexer->rec->state->tokSource->strFactory == NULL)
503 lexer->rec->state->tokSource->strFactory = input->strFactory;
508 if (lexer->rec->state->tokSource->eofToken.strFactory == NULL)
510 lexer->rec->state->tokSource->eofToken.strFactory = input->strFactory;
526 lexer->rec->state->tokSource->fileName = input->fileName;
685 if (lexer->rec->state->tokSource != NULL)
687 ANTLR3_FREE(lexer->rec->state->tokSource);
688 lexer->rec->state->tokSource = NULL;