Home
last modified time | relevance | path

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

/external/antlr/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.cpp582 UChar *tokSource; in u_strtok_r() local
588 tokSource = src; in u_strtok_r()
592 tokSource = *saveState; in u_strtok_r()
601 nonDelimIdx = u_strspn(tokSource, delim); in u_strtok_r()
602 tokSource = &tokSource[nonDelimIdx]; in u_strtok_r()
604 if (*tokSource) { in u_strtok_r()
605 nextToken = u_strpbrk(tokSource, delim); in u_strtok_r()
610 return tokSource; in u_strtok_r()
615 return tokSource; in u_strtok_r()
/external/antlr/runtime/C/include/
Dantlr3recognizersharedstate.h153 pANTLR3_TOKEN_SOURCE tokSource; member
/external/antlr/runtime/Cpp/include/
Dantlr3recognizersharedstate.hpp243 void set_tokSource( TokenSourceType* tokSource );
Dantlr3recognizersharedstate.inl200 …INE void RecognizerSharedState<ImplTraits, StreamType>::set_tokSource( TokenSourceType* tokSource ) argument
202 m_tokSource = tokSource;
/external/antlr/runtime/C/doxygen/
Dbuildrec.dox197 /// tstream = antlr3CommonTokenStreamSourceNew(ANTLR3_SIZE_HINT, lxr->pLexer->tokSource);
/external/antlr/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;