Home
last modified time | relevance | path

Searched refs:tokSource (Results 1 – 6 of 6) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3lexer.c105 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 …]
Dantlr3baserecognizer.c124 recognizer->state->tokSource = NULL; in antlr3BaseRecognizerNew()
/external/icu/icu4c/source/common/
Dustring.cpp579 UChar *tokSource; in u_strtok_r() local
585 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()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3recognizersharedstate.h153 pANTLR3_TOKEN_SOURCE tokSource; member
/external/antlr/antlr-3.4/runtime/C/doxygen/
Dbuildrec.dox197 /// tstream = antlr3CommonTokenStreamSourceNew(ANTLR3_SIZE_HINT, lxr->pLexer->tokSource);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg241 #define TOKSOURCE LEXSTATE->tokSource
261 #define EOF_TOKEN &(LEXSTATE->tokSource->eofToken)
780 #define TOKENSOURCE(lxr) lxr->pLexer->rec->state->tokSource
1038 ctx->pLexer->rec->state->tokSource->nextToken = <name>NextToken;