/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3commontreeadaptor.c | 84 ANTLR3_TREE_ADAPTORNew(pANTLR3_STRING_FACTORY strFactory) in ANTLR3_TREE_ADAPTORNew() argument 153 cta->arboretum = antlr3ArboretumNew(strFactory); in ANTLR3_TREE_ADAPTORNew() 160 cta->baseAdaptor.tokenFactory->unTruc.strFactory = strFactory; in ANTLR3_TREE_ADAPTORNew() 164 cta->baseAdaptor.strFactory = strFactory; in ANTLR3_TREE_ADAPTORNew() 177 ANTLR3_TREE_ADAPTORDebugNew(pANTLR3_STRING_FACTORY strFactory, pANTLR3_DEBUG_EVENT_LISTENER debugge… in ANTLR3_TREE_ADAPTORDebugNew() argument 183 ta = ANTLR3_TREE_ADAPTORNew(strFactory); in ANTLR3_TREE_ADAPTORDebugNew() 303 newToken->strFactory = adaptor->strFactory; in createToken() 351 …newToken->tokText.text = adaptor->strFactory->newPtr(adaptor->strFactory, text->chars, text->l… in createTokenFromToken()
|
D | antlr3commontoken.c | 143 factory->unTruc.strFactory = input->strFactory; in setInputStream() 147 factory->unTruc.strFactory = NULL; in setInputStream() 222 token->strFactory = factory->input == NULL ? NULL : factory->input->strFactory; in newPoolToken() 369 if (token->strFactory != NULL) in getText() 371 …token->tokText.text = token->strFactory->newStr8(token->strFactory, (pANTLR3_UINT8)token->tokText.… in getText() 389 token->tokText.text = token->strFactory->newStr8(token->strFactory, (pANTLR3_UINT8)"<EOF>"); in getText() 391 token->tokText.text->factory = token->strFactory; in getText()
|
D | antlr3commontreenodestream.c | 120 stream = antlr3CommonTreeNodeStreamNew(tree->strFactory, hint); in antlr3CommonTreeNodeStreamNewTree() 248 inStream->UP.token->strFactory = stream->stringFactory; in antlr3CommonTreeNodeStreamNewStream() 250 inStream->DOWN.token->strFactory = stream->stringFactory; in antlr3CommonTreeNodeStreamNewStream() 252 inStream->EOF_NODE.token->strFactory = stream->stringFactory; in antlr3CommonTreeNodeStreamNewStream() 254 inStream->INVALID_NODE.token->strFactory= stream->stringFactory; in antlr3CommonTreeNodeStreamNewStream() 270 antlr3CommonTreeNodeStreamNew(pANTLR3_STRING_FACTORY strFactory, ANTLR3_UINT32 hint) in antlr3CommonTreeNodeStreamNew() argument 286 stream->stringFactory = strFactory; in antlr3CommonTreeNodeStreamNew() 290 stream->adaptor = ANTLR3_TREE_ADAPTORNew(strFactory); in antlr3CommonTreeNodeStreamNew() 391 token->strFactory = strFactory; in antlr3CommonTreeNodeStreamNew() 397 token->strFactory = strFactory; in antlr3CommonTreeNodeStreamNew() [all …]
|
D | antlr3commontree.c | 65 antlr3ArboretumNew(pANTLR3_STRING_FACTORY strFactory) in antlr3ArboretumNew() argument 117 factory->unTruc.baseTree.strFactory = strFactory; in antlr3ArboretumNew() 196 tree->baseTree.strFactory = factory->unTruc.baseTree.strFactory; in newPoolTree() 495 nilNode = tree->strFactory->newPtr(tree->strFactory, (pANTLR3_UINT8)"nil", 3); in toString()
|
D | antlr3inputstream.c | 129 input->strFactory = antlr3StringFactoryNew(input->encoding); in antlr38BitSetupStream() 215 if (input->strFactory != NULL) in antlr3InputClose() 217 input->strFactory->close(input->strFactory); in antlr3InputClose() 299 …input->istream->streamName = input->strFactory->newStr(input->strFactory, name == NULL ? (pANTLR3_… in antlr38BitReuse() 605 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, (ANTLR3_UINT32)(stop - … in antlr38BitSubstr() 708 input->strFactory = antlr3StringFactoryNew(input->encoding); in antlr3UTF16SetupStream() 1048 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, ((ANTLR3_UINT32_CAST(st… in antlr3UTF16Substr() 1506 input->strFactory = antlr3StringFactoryNew(input->encoding); in antlr3UTF32SetupStream() 1622 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, ((ANTLR3_UINT32_CAST(st… in antlr3UTF32Substr() 1756 input->strFactory = antlr3StringFactoryNew(input->encoding); in antlr3UTF8SetupStream() [all …]
|
D | antlr3filestream.c | 81 input->istream->streamName = input->strFactory->newStr8(input->strFactory, fileName); in antlr3FileStreamNew() 119 input->istream->streamName = input->strFactory->newStr8(input->strFactory, name); in antlr3StringStreamNew()
|
D | antlr3lexer.c | 122 lexer->rec->state->tokSource->strFactory = NULL; in antlr3LexerNew() 153 specialT->strFactory = NULL; in antlr3LexerNew() 166 specialT->strFactory = NULL; in antlr3LexerNew() 521 if (lexer->rec->state->tokSource->strFactory == NULL) in setCharStream() 523 lexer->rec->state->tokSource->strFactory = input->strFactory; in setCharStream() 528 if (lexer->rec->state->tokSource->eofToken.strFactory == NULL) in setCharStream() 530 lexer->rec->state->tokSource->eofToken.strFactory = input->strFactory; in setCharStream()
|
D | antlr3basetree.c | 76 tree->strFactory = NULL; in antlr3BaseTreeNew() 302 string = tree->strFactory->newRaw(tree->strFactory); in toStringTree()
|
D | antlr3basetreeadaptor.c | 368 dotSpec = adaptor->strFactory->newStr8 in makeDot() 371 adaptor->strFactory, in makeDot()
|
D | antlr3tokenstream.c | 562 string = tsource->strFactory->newRaw(tsource->strFactory); in toStringSS()
|
D | antlr3baserecognizer.c | 378 …reamName = ((pANTLR3_BASE_TREE)(ex->token))->strFactory->newStr(((pANTLR3_BASE_TREE)(ex->token))->… in antlr3RecognitionExceptionNew()
|
/external/antlr/antlr-3.4/runtime/C/include/ |
D | antlr3defs.h | 580 …TLR3_BASE_TREE_ADAPTOR ANTLR3_TREE_ADAPTORNew (pANTLR3_STRING_FACTORY strFactory); 581 …DAPTOR ANTLR3_TREE_ADAPTORDebugNew (pANTLR3_STRING_FACTORY strFactory, pANTLR3_DEBUG_E… 598 …DE_STREAM antlr3CommonTreeNodeStreamNew (pANTLR3_STRING_FACTORY strFactory, ANTLR3_UINT32 h… 600 …DE_STREAM antlr3UnbufTreeNodeStreamNew (pANTLR3_STRING_FACTORY strFactory, ANTLR3_UINT32 h…
|
D | antlr3input.h | 81 pANTLR3_STRING_FACTORY strFactory; member
|
D | antlr3basetree.h | 76 pANTLR3_STRING_FACTORY strFactory; member
|
D | antlr3tokenstream.h | 65 pANTLR3_STRING_FACTORY strFactory; member
|
D | antlr3commontoken.h | 123 pANTLR3_STRING_FACTORY strFactory; member
|
D | antlr3basetreeadaptor.h | 58 pANTLR3_STRING_FACTORY strFactory; member
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | Dbg.stg | 114 …proxy->grammarFileName = INPUT->tokenSource->strFactory->newStr8(INPUT->tokenSource->strFactory, (…
|
D | AST.stg | 44 ADAPTOR = ANTLR3_TREE_ADAPTORNew(instream->tstream->tokenSource->strFactory);<\n>
|