Searched refs:strFactory (Results 1 - 19 of 19) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3commontreeadaptor.c84 ANTLR3_TREE_ADAPTORNew(pANTLR3_STRING_FACTORY strFactory) argument
153 cta->arboretum = antlr3ArboretumNew(strFactory);
160 cta->baseAdaptor.tokenFactory->unTruc.strFactory = strFactory;
164 cta->baseAdaptor.strFactory = strFactory;
177 ANTLR3_TREE_ADAPTORDebugNew(pANTLR3_STRING_FACTORY strFactory, pANTLR3_DEBUG_EVENT_LISTENER debugger) argument
183 ta = ANTLR3_TREE_ADAPTORNew(strFactory);
303 newToken->strFactory = adaptor->strFactory;
[all...]
H A Dantlr3commontoken.c143 factory->unTruc.strFactory = input->strFactory;
147 factory->unTruc.strFactory = NULL;
222 token->strFactory = factory->input == NULL ? NULL : factory->input->strFactory;
369 if (token->strFactory != NULL)
371 token->tokText.text = token->strFactory->newStr8(token->strFactory, (pANTLR3_UINT8)token->tokText.chars);
389 token->tokText.text = token->strFactory->newStr8(token->strFactory, (pANTLR3_UINT
[all...]
H A Dantlr3commontreenodestream.c120 stream = antlr3CommonTreeNodeStreamNew(tree->strFactory, hint);
248 inStream->UP.token->strFactory = stream->stringFactory;
250 inStream->DOWN.token->strFactory = stream->stringFactory;
252 inStream->EOF_NODE.token->strFactory = stream->stringFactory;
254 inStream->INVALID_NODE.token->strFactory= stream->stringFactory;
270 antlr3CommonTreeNodeStreamNew(pANTLR3_STRING_FACTORY strFactory, ANTLR3_UINT32 hint) argument
286 stream->stringFactory = strFactory;
290 stream->adaptor = ANTLR3_TREE_ADAPTORNew(strFactory);
391 token->strFactory = strFactory;
[all...]
H A Dantlr3filestream.c81 input->istream->streamName = input->strFactory->newStr8(input->strFactory, fileName);
119 input->istream->streamName = input->strFactory->newStr8(input->strFactory, name);
H A Dantlr3commontree.c65 antlr3ArboretumNew(pANTLR3_STRING_FACTORY strFactory) argument
117 factory->unTruc.baseTree.strFactory = strFactory;
196 tree->baseTree.strFactory = factory->unTruc.baseTree.strFactory;
495 nilNode = tree->strFactory->newPtr(tree->strFactory, (pANTLR3_UINT8)"nil", 3);
H A Dantlr3inputstream.c129 input->strFactory = antlr3StringFactoryNew(input->encoding);
215 if (input->strFactory != NULL)
217 input->strFactory->close(input->strFactory);
299 input->istream->streamName = input->strFactory->newStr(input->strFactory, name == NULL ? (pANTLR3_UINT8)"-memory-" : name);
605 return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, (ANTLR3_UINT32)(stop - start + 1));
708 input->strFactory = antlr3StringFactoryNew(input->encoding);
1048 return input->strFactory
[all...]
H A Dantlr3lexer.c122 lexer->rec->state->tokSource->strFactory = NULL;
153 specialT->strFactory = NULL;
166 specialT->strFactory = NULL;
521 if (lexer->rec->state->tokSource->strFactory == NULL)
523 lexer->rec->state->tokSource->strFactory = input->strFactory;
528 if (lexer->rec->state->tokSource->eofToken.strFactory == NULL)
530 lexer->rec->state->tokSource->eofToken.strFactory = input->strFactory;
H A Dantlr3basetree.c76 tree->strFactory = NULL;
302 string = tree->strFactory->newRaw(tree->strFactory);
H A Dantlr3basetreeadaptor.c368 dotSpec = adaptor->strFactory->newStr8
371 adaptor->strFactory,
H A Dantlr3tokenstream.c562 string = tsource->strFactory->newRaw(tsource->strFactory);
H A Dantlr3baserecognizer.c378 ex->streamName = ((pANTLR3_BASE_TREE)(ex->token))->strFactory->newStr(((pANTLR3_BASE_TREE)(ex->token))->strFactory, (pANTLR3_UINT8)"-unknown source-");
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
H A DDbg.stg114 proxy->grammarFileName = INPUT->tokenSource->strFactory->newStr8(INPUT->tokenSource->strFactory, (pANTLR3_UINT8)ctx->getGrammarFileName());
H A DAST.stg44 ADAPTOR = ANTLR3_TREE_ADAPTORNew(instream->tstream->tokenSource->strFactory);<\n>
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3basetree.h76 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_BASE_TREE_struct
H A Dantlr3input.h81 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_INPUT_STREAM_struct
H A Dantlr3commontoken.h123 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_COMMON_TOKEN_struct
H A Dantlr3tokenstream.h65 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_TOKEN_SOURCE_struct
H A Dantlr3basetreeadaptor.h58 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_BASE_TREE_ADAPTOR_struct
H A Dantlr3defs.h580 ANTLR3_API pANTLR3_BASE_TREE_ADAPTOR ANTLR3_TREE_ADAPTORNew (pANTLR3_STRING_FACTORY strFactory);
581 ANTLR3_API pANTLR3_BASE_TREE_ADAPTOR ANTLR3_TREE_ADAPTORDebugNew (pANTLR3_STRING_FACTORY strFactory, pANTLR3_DEBUG_EVENT_LISTENER debugger);
598 ANTLR3_API pANTLR3_COMMON_TREE_NODE_STREAM antlr3CommonTreeNodeStreamNew (pANTLR3_STRING_FACTORY strFactory, ANTLR3_UINT32 hint);
600 ANTLR3_API pANTLR3_COMMON_TREE_NODE_STREAM antlr3UnbufTreeNodeStreamNew (pANTLR3_STRING_FACTORY strFactory, ANTLR3_UINT32 hint);

Completed in 517 milliseconds