Searched refs:tokSource (Results 1 – 8 of 8) 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()
582 UChar *tokSource; in u_strtok_r() local588 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()
153 pANTLR3_TOKEN_SOURCE tokSource; member
243 void set_tokSource( TokenSourceType* tokSource );
200 …INE void RecognizerSharedState<ImplTraits, StreamType>::set_tokSource( TokenSourceType* tokSource ) argument202 m_tokSource = tokSource;
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;