/external/antlr/runtime/C/src/ |
D | antlr3commontoken.c | 40 static pANTLR3_STRING getText (pANTLR3_COMMON_TOKEN token); 41 static void setText (pANTLR3_COMMON_TOKEN token, pANTLR3_STRING text); 42 static void setText8 (pANTLR3_COMMON_TOKEN token, pANTLR3_UINT8 text); 43 static ANTLR3_UINT32 getType (pANTLR3_COMMON_TOKEN token); 44 static void setType (pANTLR3_COMMON_TOKEN token, ANTLR3_UINT32 type); 45 static ANTLR3_UINT32 getLine (pANTLR3_COMMON_TOKEN token); 46 static void setLine (pANTLR3_COMMON_TOKEN token, ANTLR3_UINT32 line); 47 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token); 48 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos); 49 static ANTLR3_UINT32 getChannel (pANTLR3_COMMON_TOKEN token); [all …]
|
D | antlr3commontreeadaptor.c | 47 static pANTLR3_BASE_TREE create (pANTLR3_BASE_TREE_ADAPTOR adpator, pANTLR3_COMMON_TOKEN paylo… 48 static pANTLR3_BASE_TREE dbgCreate (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN pay… 49 static pANTLR3_COMMON_TOKEN createToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenT… 50 static pANTLR3_COMMON_TOKEN createTokenFromToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON… 51 static pANTLR3_COMMON_TOKEN getToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 64 …_ADAPTOR adaptor, pANTLR3_TOKEN_STREAM ctnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… 67 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… 68 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… 106 cta->baseAdaptor.create = (void * (*) (pANTLR3_BASE_TREE_ADAPTOR, pANTLR3_COMMON_TOKEN)) in ANTLR3_TREE_ADAPTORNew() 112 … = (void (*) (pANTLR3_BASE_TREE_ADAPTOR, void *, pANTLR3_COMMON_TOKEN, pANTLR3_COMMON_TOKEN)) in ANTLR3_TREE_ADAPTORNew() [all …]
|
D | antlr3basetreeadaptor.c | 54 …dChildToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN child); 55 …ddChildToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN child); 58 …ken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken); 59 …oken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken); 60 …ext (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, … 61 …Text (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, … 92 adaptor->addChildToken = (void (*)(pANTLR3_BASE_TREE_ADAPTOR, void *, pANTLR3_COMMON_TOKEN)) in antlr3BaseTreeAdaptorInit() 96 …or->createTypeToken = (void * (*)(pANTLR3_BASE_TREE_ADAPTOR, ANTLR3_UINT32, pANTLR3_COMMON_TOKEN)) in antlr3BaseTreeAdaptorInit() 98 …TokenText = (void * (*)(pANTLR3_BASE_TREE_ADAPTOR, ANTLR3_UINT32, pANTLR3_COMMON_TOKEN, pANTLR3_UI… in antlr3BaseTreeAdaptorInit() 113 adaptor->addChildToken = (void (*)(pANTLR3_BASE_TREE_ADAPTOR, void *, pANTLR3_COMMON_TOKEN)) in antlr3BaseTreeAdaptorInit() [all …]
|
D | antlr3tokenstream.c | 54 static pANTLR3_COMMON_TOKEN tokLT (pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k); 55 static pANTLR3_COMMON_TOKEN dbgTokLT (pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k); 56 static pANTLR3_COMMON_TOKEN get (pANTLR3_TOKEN_STREAM ts, ANTLR3_UINT32 i); 61 …R3_STRING toStringTT (pANTLR3_TOKEN_STREAM ts, pANTLR3_COMMON_TOKEN start, pANTLR3_COMMON_TOK… 90 static pANTLR3_COMMON_TOKEN LB (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 i); 351 static pANTLR3_COMMON_TOKEN 377 pANTLR3_COMMON_TOKEN teof = &(ts->tokenSource->eofToken); in tokLT() 397 pANTLR3_COMMON_TOKEN teof = &(ts->tokenSource->eofToken); in tokLT() 408 return (pANTLR3_COMMON_TOKEN)cts->tokens->elements[i].element; in tokLT() 436 static pANTLR3_COMMON_TOKEN [all …]
|
D | antlr3commontree.c | 41 static pANTLR3_COMMON_TOKEN getToken (pANTLR3_BASE_TREE tree); 61 static pANTLR3_BASE_TREE newFromToken (pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TOKEN token); 252 newFromToken(pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TOKEN token) in newFromToken() 372 antlr3CommonTreeNewFromToken(pANTLR3_COMMON_TOKEN token) in antlr3CommonTreeNewFromToken() 399 static pANTLR3_COMMON_TOKEN 467 pANTLR3_COMMON_TOKEN token; in getLine() 489 pANTLR3_COMMON_TOKEN token; in getCharPositionInLine()
|
D | antlr3lexer.c | 47 static void emitNew (pANTLR3_LEXER lexer, pANTLR3_COMMON_TOKEN token); 48 static pANTLR3_COMMON_TOKEN emit (pANTLR3_LEXER lexer); 58 static pANTLR3_COMMON_TOKEN nextToken (pANTLR3_TOKEN_SOURCE toksource); 75 pANTLR3_COMMON_TOKEN specialT; in antlr3LexerNew() 216 ANTLR3_INLINE static pANTLR3_COMMON_TOKEN 261 pANTLR3_COMMON_TOKEN teof = &(toksource->eofToken); in nextTokenStr() 329 static pANTLR3_COMMON_TOKEN 332 pANTLR3_COMMON_TOKEN tok; in nextToken() 636 static void emitNew (pANTLR3_LEXER lexer, pANTLR3_COMMON_TOKEN token) in emitNew() 641 static pANTLR3_COMMON_TOKEN [all …]
|
D | antlr3debughandlers.c | 63 static void consumeToken (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_COMMON_TOKEN t); 64 static void consumeHiddenToken (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_COMMON_TOKEN t); 65 static void LT (pANTLR3_DEBUG_EVENT_LISTENER delboy, int i, pANTLR3_COMMON_TOKEN t); 83 …odeTok (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE node, pANTLR3_COMMON_TOKEN token); 418 serializeToken(pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_COMMON_TOKEN t) in serializeToken() 466 pANTLR3_COMMON_TOKEN token; in serializeNode() 626 consumeToken (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_COMMON_TOKEN t) in consumeToken() 646 consumeHiddenToken (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_COMMON_TOKEN t) in consumeHiddenToken() 668 LT (pANTLR3_DEBUG_EVENT_LISTENER delboy, int i, pANTLR3_COMMON_TOKEN t) in LT() 1003 createNodeTok (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE node, pANTLR3_COMMON_TOKEN … in createNodeTok()
|
D | antlr3baserecognizer.c | 348 ex->line = ((pANTLR3_COMMON_TOKEN)(ex->token))->getLine ((pANTLR3_COMMON_TOKEN)(ex->token)); in antlr3RecognitionExceptionNew() 349 …ex->charPositionInLine = ((pANTLR3_COMMON_TOKEN)(ex->token))->getCharPositionInLine ((pANTLR3_COMM… in antlr3RecognitionExceptionNew() 351 if (((pANTLR3_COMMON_TOKEN)(ex->token))->type == ANTLR3_TOKEN_EOF) in antlr3RecognitionExceptionNew() 357 ex->streamName = ((pANTLR3_COMMON_TOKEN)(ex->token))->input->fileName; in antlr3RecognitionExceptionNew() 1016 pANTLR3_COMMON_TOKEN theToken; in displayRecognitionError() 1029 if (((pANTLR3_COMMON_TOKEN)(ex->token))->type == ANTLR3_TOKEN_EOF) in displayRecognitionError() 1065 theToken = (pANTLR3_COMMON_TOKEN)(recognizer->state->exception->token); in displayRecognitionError() 1098 theToken = (pANTLR3_COMMON_TOKEN) theBaseTree->getToken(theBaseTree); in displayRecognitionError() 1560 pANTLR3_COMMON_TOKEN matchedSymbol; in recoverFromMismatchedSet() 1592 …matchedSymbol = (pANTLR3_COMMON_TOKEN)recognizer->getMissingSymbol(recognizer, is, recognizer->sta… in recoverFromMismatchedSet() [all …]
|
D | antlr3treeparser.c | 211 pANTLR3_COMMON_TOKEN token; in getMissingSymbol()
|
D | antlr3commontreenodestream.c | 273 pANTLR3_COMMON_TOKEN token; in antlr3CommonTreeNodeStreamNew() 893 pANTLR3_COMMON_TOKEN token; in newDownNode() 907 pANTLR3_COMMON_TOKEN token; in newUpNode()
|
D | antlr3rewritestreams.c | 769 …return (pANTLR3_BASE_TREE)stream->adaptor->create(stream->adaptor, (pANTLR3_COMMON_TOKEN)stream->_… in nextNodeToken()
|
/external/antlr/runtime/C/include/ |
D | antlr3basetreeadaptor.h | 80 …ldToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t, pANTLR3_COMMON_TOKEN child); 84 …_struct * adaptor, pANTLR3_TOKEN_STREAM tnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… 93 … (*create) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, pANTLR3_COMMON_TOKEN payload); 94 …NTLR3_BASE_TREE_ADAPTOR_struct * adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken); 95 …TLR3_BASE_TREE_ADAPTOR_struct * adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, … 119 …pANTLR3_COMMON_TOKEN (*createToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, ANTLR3… 120 …pANTLR3_COMMON_TOKEN (*createTokenFromToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor,… 121 …pANTLR3_COMMON_TOKEN (*getToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t… 123 …LR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
|
D | antlr3tokenstream.h | 61 pANTLR3_COMMON_TOKEN (*nextToken)(struct ANTLR3_TOKEN_SOURCE_struct * tokenSource); 130 … pANTLR3_COMMON_TOKEN (*_LT) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, ANTLR3_INT32 k); 139 …pANTLR3_COMMON_TOKEN (*get) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, ANTLR3_UINT32 i); 171 …) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, pANTLR3_COMMON_TOKEN start, pANTLR3_COMMON_TOK…
|
D | antlr3debugeventlistener.h | 139 void (*consumeToken) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_COMMON_TOKEN t); 145 void (*consumeHiddenToken) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_COMMON_TOKEN t); 154 void (*LT) (pANTLR3_DEBUG_EVENT_LISTENER delboy, int i, pANTLR3_COMMON_TOKEN t); 350 …odeTok) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE node, pANTLR3_COMMON_TOKEN token);
|
D | antlr3commontree.h | 64 pANTLR3_COMMON_TOKEN token; 153 …SE_TREE (*newFromToken) (struct ANTLR3_ARBORETUM_struct * factory, pANTLR3_COMMON_TOKEN token);
|
D | antlr3lexer.h | 126 void (*emitNew) (struct ANTLR3_LEXER_struct * lexer, pANTLR3_COMMON_TOKEN token); 130 pANTLR3_COMMON_TOKEN (*emit) (struct ANTLR3_LEXER_struct * lexer);
|
D | antlr3commontoken.h | 319 pANTLR3_COMMON_TOKEN *pools; 346 pANTLR3_COMMON_TOKEN (*newToken) (struct ANTLR3_TOKEN_FACTORY_struct * factory);
|
D | antlr3recognizersharedstate.h | 142 pANTLR3_COMMON_TOKEN token;
|
D | antlr3interfaces.h | 71 typedef struct ANTLR3_COMMON_TOKEN_struct *pANTLR3_COMMON_TOKEN; typedef
|
D | antlr3defs.h | 570 ANTLR3_API pANTLR3_COMMON_TOKEN antlr3CommonTokenNew (ANTLR3_UINT32 ttyp… 572 ANTLR3_API void antlr3SetTokenAPI (pANTLR3_COMMON_TOKEN token); 588 ANTLR3_API pANTLR3_COMMON_TREE antlr3CommonTreeNewFromToken (pANTLR3_COMMON_TOKEN tree);
|
D | antlr3basetree.h | 81 pANTLR3_COMMON_TOKEN (*getToken) (struct ANTLR3_BASE_TREE_struct * tree);
|
/external/antlr/runtime/C/doxygen/ |
D | doxygengroups.dox | 177 /// \defgroup pANTLR3_COMMON_TOKEN pANTLR3_COMMON_TOKEN - Common Token Implementation
|
D | interop.dox | 150 /// token emitted by the rule. The parameter <code>t </code> must be of type #pANTLR3_COMMON_TOKEN. 265 /// In the parser, the macro <code>LT(n)</code> returns the #pANTLR3_COMMON_TOKEN at offset <code>n…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 858 labelType="pANTLR3_COMMON_TOKEN") ::= << 864 static pANTLR3_COMMON_TOKEN <name>NextToken (pANTLR3_TOKEN_SOURCE toksource); 1094 static pANTLR3_COMMON_TOKEN 1125 pANTLR3_COMMON_TOKEN teof = &(toksource->eofToken); 1483 labelType="pANTLR3_COMMON_TOKEN", 3055 pANTLR3_COMMON_TOKEN start; 3056 pANTLR3_COMMON_TOKEN stop;
|