Searched refs:tokSource (Results 1 – 6 of 6) sorted by relevance
105 if (lexer->rec->state->tokSource == NULL) in antlr3LexerNew()107 …lexer->rec->state->tokSource = (pANTLR3_TOKEN_SOURCE)ANTLR3_CALLOC(1, sizeof(ANTLR3_TOKEN_SOURCE)); in antlr3LexerNew()109 if (lexer->rec->state->tokSource == NULL) in antlr3LexerNew()116 lexer->rec->state->tokSource->super = lexer; in antlr3LexerNew()121 lexer->rec->state->tokSource->nextToken = nextToken; in antlr3LexerNew()122 lexer->rec->state->tokSource->strFactory = NULL; in antlr3LexerNew()149 specialT = &(lexer->rec->state->tokSource->eofToken); in antlr3LexerNew()162 specialT = &(lexer->rec->state->tokSource->skipToken); in antlr3LexerNew()521 if (lexer->rec->state->tokSource->strFactory == NULL) in setCharStream()523 lexer->rec->state->tokSource->strFactory = input->strFactory; in setCharStream()[all …]
124 recognizer->state->tokSource = NULL; in antlr3BaseRecognizerNew()
579 UChar *tokSource; in u_strtok_r() local585 tokSource = src; in u_strtok_r()589 tokSource = *saveState; in u_strtok_r()598 nonDelimIdx = u_strspn(tokSource, delim); in u_strtok_r()599 tokSource = &tokSource[nonDelimIdx]; in u_strtok_r()601 if (*tokSource) { in u_strtok_r()602 nextToken = u_strpbrk(tokSource, delim); in u_strtok_r()607 return tokSource; in u_strtok_r()612 return tokSource; in u_strtok_r()
153 pANTLR3_TOKEN_SOURCE tokSource; member
197 /// tstream = antlr3CommonTokenStreamSourceNew(ANTLR3_SIZE_HINT, lxr->pLexer->tokSource);
241 #define TOKSOURCE LEXSTATE->tokSource261 #define EOF_TOKEN &(LEXSTATE->tokSource->eofToken)780 #define TOKENSOURCE(lxr) lxr->pLexer->rec->state->tokSource1038 ctx->pLexer->rec->state->tokSource->nextToken = <name>NextToken;