/external/antlr/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() 245 token->strFactory = factory->input == NULL ? NULL : factory->input->strFactory; in newPoolToken() 392 if (token->strFactory != NULL) in getText() 394 …token->tokText.text = token->strFactory->newStr8(token->strFactory, (pANTLR3_UINT8)token->tokText.… in getText() 412 token->tokText.text = token->strFactory->newStr8(token->strFactory, (pANTLR3_UINT8)"<EOF>"); in getText() 414 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() 215 tree->baseTree.strFactory = factory->unTruc.baseTree.strFactory; in newPoolTree() 514 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() 612 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, (ANTLR3_UINT32)(stop - … in antlr38BitSubstr() 715 input->strFactory = antlr3StringFactoryNew(input->encoding); in antlr3UTF16SetupStream() 1055 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, ((ANTLR3_UINT32_CAST(st… in antlr3UTF16Substr() 1513 input->strFactory = antlr3StringFactoryNew(input->encoding); in antlr3UTF32SetupStream() 1629 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, ((ANTLR3_UINT32_CAST(st… in antlr3UTF32Substr() 1763 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() 306 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/runtime/C/include/ |
D | antlr3defs.h | 584 …TLR3_BASE_TREE_ADAPTOR ANTLR3_TREE_ADAPTORNew (pANTLR3_STRING_FACTORY strFactory); 585 …DAPTOR ANTLR3_TREE_ADAPTORDebugNew (pANTLR3_STRING_FACTORY strFactory, pANTLR3_DEBUG_E… 602 …DE_STREAM antlr3CommonTreeNodeStreamNew (pANTLR3_STRING_FACTORY strFactory, ANTLR3_UINT32 h… 604 …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/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>
|