/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3commontreeadaptor.c | 84 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 D | antlr3commontoken.c | 143 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 D | antlr3commontreenodestream.c | 120 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 D | antlr3filestream.c | 81 input->istream->streamName = input->strFactory->newStr8(input->strFactory, fileName); 119 input->istream->streamName = input->strFactory->newStr8(input->strFactory, name);
|
H A D | antlr3commontree.c | 65 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 D | antlr3inputstream.c | 129 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 D | antlr3lexer.c | 122 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 D | antlr3basetree.c | 76 tree->strFactory = NULL; 302 string = tree->strFactory->newRaw(tree->strFactory);
|
H A D | antlr3basetreeadaptor.c | 368 dotSpec = adaptor->strFactory->newStr8 371 adaptor->strFactory,
|
H A D | antlr3tokenstream.c | 562 string = tsource->strFactory->newRaw(tsource->strFactory);
|
H A D | antlr3baserecognizer.c | 378 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 D | Dbg.stg | 114 proxy->grammarFileName = INPUT->tokenSource->strFactory->newStr8(INPUT->tokenSource->strFactory, (pANTLR3_UINT8)ctx->getGrammarFileName());
|
H A D | AST.stg | 44 ADAPTOR = ANTLR3_TREE_ADAPTORNew(instream->tstream->tokenSource->strFactory);<\n>
|
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | antlr3basetree.h | 76 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_BASE_TREE_struct
|
H A D | antlr3input.h | 81 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_INPUT_STREAM_struct
|
H A D | antlr3commontoken.h | 123 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_COMMON_TOKEN_struct
|
H A D | antlr3tokenstream.h | 65 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_TOKEN_SOURCE_struct
|
H A D | antlr3basetreeadaptor.h | 58 pANTLR3_STRING_FACTORY strFactory; member in struct:ANTLR3_BASE_TREE_ADAPTOR_struct
|
H A D | antlr3defs.h | 580 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);
|