/external/antlr/runtime/C/src/ |
D | antlr3basetreeadaptor.c | 44 static pANTLR3_BASE_TREE nilNode (pANTLR3_BASE_TREE_ADAPTOR adaptor); 45 static pANTLR3_BASE_TREE dbgNil (pANTLR3_BASE_TREE_ADAPTOR adaptor); 46 static pANTLR3_BASE_TREE dupTree (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 47 static pANTLR3_BASE_TREE dbgDupTree (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 48 static pANTLR3_BASE_TREE dupTreeTT (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANT… 49 … void addChild (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_BASE_TREE ch… 50 …id dbgAddChild (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_BASE_TREE ch… 51 static pANTLR3_BASE_TREE becomeRoot (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE newRoo… 52 static pANTLR3_BASE_TREE dbgBecomeRoot (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE newR… 53 static pANTLR3_BASE_TREE rulePostProcessing (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE … [all …]
|
D | antlr3basetree.c | 36 static void * getChild (pANTLR3_BASE_TREE tree, ANTLR3_UINT32 i); 37 static ANTLR3_UINT32 getChildCount (pANTLR3_BASE_TREE tree); 39 (pANTLR3_BASE_TREE tree); 40 static ANTLR3_UINT32 getLine (pANTLR3_BASE_TREE tree); 41 static pANTLR3_BASE_TREE 43 (pANTLR3_BASE_TREE tree, ANTLR3_UINT32 type); 44 static void addChild (pANTLR3_BASE_TREE tree, pANTLR3_BASE_TREE child); 45 static void addChildren (pANTLR3_BASE_TREE tree, pANTLR3_LIST kids); 46 …id replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stop… 48 static void freshenPACIndexesAll(pANTLR3_BASE_TREE tree); [all …]
|
D | antlr3commontreeadaptor.c | 46 static pANTLR3_BASE_TREE dupNode (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE treeNod… 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… 51 static pANTLR3_COMMON_TOKEN getToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 52 static pANTLR3_STRING getText (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 53 static ANTLR3_UINT32 getType (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 54 static pANTLR3_BASE_TREE getChild (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, ANTL… 55 static ANTLR3_UINT32 getChildCount (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 56 …SE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stop… 58 static void setChildIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, ANTLR3_IN… [all …]
|
D | antlr3commontree.c | 41 static pANTLR3_COMMON_TOKEN getToken (pANTLR3_BASE_TREE tree); 42 static pANTLR3_BASE_TREE dupNode (pANTLR3_BASE_TREE tree); 43 static ANTLR3_BOOLEAN isNilNode (pANTLR3_BASE_TREE tree); 44 static ANTLR3_UINT32 getType (pANTLR3_BASE_TREE tree); 45 static pANTLR3_STRING getText (pANTLR3_BASE_TREE tree); 46 static ANTLR3_UINT32 getLine (pANTLR3_BASE_TREE tree); 47 static ANTLR3_UINT32 getCharPositionInLine (pANTLR3_BASE_TREE tree); 48 static pANTLR3_STRING toString (pANTLR3_BASE_TREE tree); 49 static pANTLR3_BASE_TREE getParent (pANTLR3_BASE_TREE tree); 50 static void setParent (pANTLR3_BASE_TREE tree, pANTLR3_BASE_TREE parent); [all …]
|
D | antlr3rewritestreams.c | 43 static pANTLR3_BASE_TREE nextTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 49 static pANTLR3_BASE_TREE toTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element); 50 static pANTLR3_BASE_TREE toTreeNode (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element); 52 static pANTLR3_BASE_TREE nextNode (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 53 static pANTLR3_BASE_TREE nextNodeNode (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 54 static pANTLR3_BASE_TREE nextNodeToken (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 110 pANTLR3_BASE_TREE tree; in freeNodeRS() 128 tree = (pANTLR3_BASE_TREE)(stream->elements->elements[i-1].element); in freeNodeRS() 156 tree = (pANTLR3_BASE_TREE)(stream->singleElement); in freeNodeRS() 567 static pANTLR3_BASE_TREE [all …]
|
D | antlr3commontreenodestream.c | 45 static pANTLR3_BASE_TREE newDownNode (pANTLR3_COMMON_TREE_NODE_STREAM ctns); 46 static pANTLR3_BASE_TREE newUpNode (pANTLR3_COMMON_TREE_NODE_STREAM ctns); 55 static pANTLR3_BASE_TREE getTreeSource (pANTLR3_TREE_NODE_STREAM tns); 56 static pANTLR3_BASE_TREE _LT (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k); 57 static pANTLR3_BASE_TREE get (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k); 60 …TRING toStringSS (pANTLR3_TREE_NODE_STREAM tns, pANTLR3_BASE_TREE start, pANTLR3_BASE_TREE … 61 …id toStringWork (pANTLR3_TREE_NODE_STREAM tns, pANTLR3_BASE_TREE start, pANTLR3_BASE_TREE … 62 …R3_TREE_NODE_STREAM tns, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stop… 79 static void fillBuffer (pANTLR3_COMMON_TREE_NODE_STREAM ctns, pANTLR3_BASE_TREE t); 116 antlr3CommonTreeNodeStreamNewTree(pANTLR3_BASE_TREE tree, ANTLR3_UINT32 hint) in antlr3CommonTreeNodeStreamNewTree() [all …]
|
D | antlr3debughandlers.c | 78 static void consumeNode (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t); 79 static void LTT (pANTLR3_DEBUG_EVENT_LISTENER delboy, int i, pANTLR3_BASE_TREE t); 80 static void nilNode (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t); 81 static void errorNode (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t); 82 static void createNode (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t); 83 static void createNodeTok (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE node, pANTLR3_C… 84 …d becomeRoot (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE newRoot, pANTLR3_BASE_TREE… 85 … void addChild (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE root, pANTLR3_BASE_TREE … 86 static void setTokenBoundaries (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t, ANTLR3_M… 464 serializeNode(pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE node) in serializeNode() [all …]
|
D | antlr3treeparser.c | 209 pANTLR3_BASE_TREE node; in getMissingSymbol() 210 pANTLR3_BASE_TREE current; in getMissingSymbol() 235 node = (pANTLR3_BASE_TREE)current->dupNode(current); in getMissingSymbol()
|
D | antlr3baserecognizer.c | 365 ex->line = ((pANTLR3_BASE_TREE)(ex->token))->getLine ((pANTLR3_BASE_TREE)(ex->token)); in antlr3RecognitionExceptionNew() 366 …ex->charPositionInLine = ((pANTLR3_BASE_TREE)(ex->token))->getCharPositionInLine ((pANTLR3_BASE_… in antlr3RecognitionExceptionNew() 374 tnode = ((pANTLR3_COMMON_TREE)(((pANTLR3_BASE_TREE)(ex->token))->super)); in antlr3RecognitionExceptionNew() 378 …ex->streamName = ((pANTLR3_BASE_TREE)(ex->token))->strFactory->newStr(((pANTLR3_BASE_TREE)(ex->tok… in antlr3RecognitionExceptionNew() 1017 pANTLR3_BASE_TREE theBaseTree; in displayRecognitionError() 1089 theBaseTree = (pANTLR3_BASE_TREE)(recognizer->state->exception->token); in displayRecognitionError()
|
/external/antlr/runtime/C/include/ |
D | antlr3commontreenodestream.h | 78 pANTLR3_BASE_TREE (*_LT) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, ANTLR3_INT32 k); 83 pANTLR3_BASE_TREE (*getTreeSource) (struct ANTLR3_TREE_NODE_STREAM_struct * tns); 106 …gSS) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, pANTLR3_BASE_TREE start, pANTLR3_BASE_TREE … 115 …ork) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, pANTLR3_BASE_TREE start, pANTLR3_BASE_TREE … 125 pANTLR3_BASE_TREE (*get) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, ANTLR3_INT32 i); 139 …ODE_STREAM_struct * tns, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stop… 203 pANTLR3_BASE_TREE root; 224 pANTLR3_BASE_TREE currentNode; 228 pANTLR3_BASE_TREE previousNode; 244 pANTLR3_BASE_TREE * lookAhead; [all …]
|
D | antlr3debugeventlistener.h | 308 void (*consumeNode) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t); 314 void (*LTT) (pANTLR3_DEBUG_EVENT_LISTENER delboy, int i, pANTLR3_BASE_TREE t); 328 void (*nilNode) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t); 334 void (*errorNode) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t); 342 void (*createNode) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t); 350 …void (*createNodeTok) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE node, pANTLR3_COM… 368 …(*becomeRoot) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE newRoot, pANTLR3_BASE_TREE… 377 … (*addChild) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE root, pANTLR3_BASE_TREE … 384 …void (*setTokenBoundaries) (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t, ANTLR3_MAR…
|
D | antlr3commontree.h | 151 pANTLR3_BASE_TREE (*newTree) (struct ANTLR3_ARBORETUM_struct * factory); 152 …pANTLR3_BASE_TREE (*newFromTree) (struct ANTLR3_ARBORETUM_struct * factory, pANTLR3_COMMON_TRE… 153 …pANTLR3_BASE_TREE (*newFromToken) (struct ANTLR3_ARBORETUM_struct * factory, pANTLR3_COMMON_TO…
|
D | antlr3rewritestreams.h | 118 pANTLR3_BASE_TREE (*nextTree) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream); 131 …pANTLR3_BASE_TREE (*toTree) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream, void * el… 146 pANTLR3_BASE_TREE (*nextNode) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream);
|
D | antlr3defs.h | 591 ANTLR3_API pANTLR3_BASE_TREE antlr3BaseTreeNew (pANTLR3_BASE_TREE tree); 601 ANTLR3_API pANTLR3_COMMON_TREE_NODE_STREAM antlr3CommonTreeNodeStreamNewTree (pANTLR3_BASE_TREE … 603 ANTLR3_API pANTLR3_COMMON_TREE_NODE_STREAM antlr3UnbufTreeNodeStreamNewTree (pANTLR3_BASE_TREE …
|
D | antlr3parsetree.h | 64 pANTLR3_BASE_TREE (*dupNode) (struct ANTLR3_PARSE_TREE_struct * tree);
|
D | antlr3interfaces.h | 165 typedef struct ANTLR3_BASE_TREE_struct *pANTLR3_BASE_TREE; typedef
|
/external/antlr/runtime/C/doxygen/ |
D | doxygengroups.dox | 56 /// structures (such as #pANTLR3_BASE_TREE), and these embedded 'objects' contain 217 /// \defgroup pANTLR3_BASE_TREE pANTLR3_BASE_TREE - Base Tree Implementation
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 1184 ASTLabelType="pANTLR3_BASE_TREE" 1503 ASTLabelType="pANTLR3_BASE_TREE", 3041 ASTLabelType() ::= "<if(recognizer.ASTLabelType)><recognizer.ASTLabelType><else>pANTLR3_BASE_TREE<e…
|