Home
last modified time | relevance | path

Searched refs:BaseTree (Results 1 – 25 of 73) sorted by relevance

123

/external/antlr/runtime/ObjC/Framework/
DBaseTreeAdaptor.h61 - (BOOL) isNil:(id<BaseTree>) aTree;
63 - (id<BaseTree>)dupTree:(id<BaseTree>)aTree;
69 - (id<BaseTree>)dupTree:(id<BaseTree>)aTree Parent:(id<BaseTree>)parent;
70 - (id<BaseTree>)dupNode:(id<BaseTree>)aNode;
78 - (void) addChild:(id<BaseTree>)aChild toTree:(id<BaseTree>)aTree;
106 - (id<BaseTree>)becomeRoot:(id<BaseTree>)aNewRoot old:(id<BaseTree>)oldRoot;
109 - (id<BaseTree>)rulePostProcessing:(id<BaseTree>)aRoot;
111 - (id<BaseTree>)becomeRootfromToken:(id<Token>)aNewRoot old:(id<BaseTree>)oldRoot;
113 - (id<BaseTree>) create:(id<Token>)payload;
114 - (id<BaseTree>) createTree:(NSInteger)aTType FromToken:(id<Token>)aFromToken;
[all …]
DBaseTree.h31 @protocol BaseTree <Tree>
33 + (id<BaseTree>) INVALID_NODE;
35 + (id<BaseTree>) newTree;
36 + (id<BaseTree>) newTree:(id<BaseTree>)node;
38 - (id<BaseTree>) init;
39 - (id<BaseTree>) initWith:(id<BaseTree>)node;
41 - (id<BaseTree>) getChild:(NSUInteger)i;
44 - (id<BaseTree>)getFirstChildWithType:(NSInteger)type;
50 - (void) addChild:(id<BaseTree>) tree;
54 - (void) setChild:(NSInteger) i With:(id<BaseTree>)t;
[all …]
DDebugTreeAdaptor.m92 - (id<BaseTree>) newTreeWithToken:(id<Token>) payload
94 id<BaseTree> newTree = [CommonTree newTreeWithToken:payload];
99 - (id<BaseTree>) emptyTree
101 id<BaseTree> newTree = [treeAdaptor newEmptyTree];
107 - (id) copyNode:(id<BaseTree>)aNode
110 - (id) copyTree:(id<BaseTree>)aTree
115 - (void) addChild:(id<BaseTree>)child toTree:(id<BaseTree>)aTree
121 - (id<BaseTree>) becomeRoot:(id<BaseTree>)newRoot old:(id<BaseTree>)oldRoot
123 id<BaseTree> newTree = [treeAdaptor becomeRoot:newRoot old:oldRoot];
129 - (NSUInteger) uniqueIdForTree:(id<BaseTree>)aNode
[all …]
DTreeIterator.h42 __strong id<BaseTree> root;
43 __strong id<BaseTree> tree;
46 __strong id<BaseTree> up;
47 __strong id<BaseTree> down;
48 __strong id<BaseTree> eof;
53 @property(retain) id<BaseTree> root;
54 @property(retain) id<BaseTree> tree;
56 @property(retain, readwrite) id<BaseTree> up;
57 @property(retain, readwrite) id<BaseTree> down;
58 @property(retain, readwrite) id<BaseTree> eof;
[all …]
DBaseTree.m27 #import "BaseTree.h"
42 @implementation BaseTree implementation
44 static id<BaseTree> invalidNode = nil;
48 + (id<BaseTree>) INVALID_NODE
56 + (id<BaseTree>) invalidNode
66 return [[BaseTree alloc] init];
69 /** Create a new node from an existing node does nothing for BaseTree
73 + newTree:(id<BaseTree>) node
75 return [[BaseTree alloc] initWith:(id<BaseTree>) node];
88 - (id) initWith:(id<BaseTree>)node
[all …]
DCommonTreeAdaptor.m55 - (id) dupNode:(id<BaseTree>)t
110 - (void) setTokenBoundaries:(id<BaseTree>)aTree From:(id<Token>)startToken To:(id<Token>)stopToken
120 [(id<BaseTree>)aTree setTokenStartIndex:startTokIdx];
121 [(id<BaseTree>)aTree setTokenStopIndex:stopTokIdx];
124 - (NSInteger)getTokenStartIndex:(id<BaseTree>) t
128 return [(id<BaseTree>)t getTokenStartIndex];
131 - (NSInteger)getTokenStopIndex:(id<BaseTree>) t
135 return [(id<BaseTree>)t getTokenStopIndex];
145 - (void)setText:(id<BaseTree>)t Text:(NSString *)text
158 - (void) setType:(id<BaseTree>)t Type:(NSInteger)tokenType
[all …]
DTreeException.h32 id<BaseTree> oldRoot;
33 id<BaseTree> newRoot;
36 + (id) newException:(id<BaseTree>)theOldRoot newRoot:(id<BaseTree>)theNewRoot stream:(id<IntStream>…
37 - (id) initWithOldRoot:(id<BaseTree>)theOldRoot newRoot:(id<BaseTree>)theNewRoot stream:(id<IntStre…
39 - (void) setOldRoot:(id<BaseTree>)aTree;
40 - (void) setNewRoot:(id<BaseTree>)aTree;
DTreeVisitorAction.h56 - (id<BaseTree>)pre:(id<BaseTree>) t;
62 - (id<BaseTree>)post:(id<BaseTree>) t;
86 - (id<BaseTree>)pre:(id<BaseTree>) t;
92 - (id<BaseTree>)post:(id<BaseTree>) t;
DNodeMapElement.h37 id<BaseTree> node;
40 @property (retain, getter=getNode, setter=setNode:) id<BaseTree> node;
45 + (id) newNodeMapElementWithIndex:(id)anIndex Node:(id<BaseTree>)aNode;
51 - (id<BaseTree>)getNode;
52 - (void)setNode:(id<BaseTree>)aNode;
DParseTree.h37 @interface ParseTree : BaseTree <BaseTree> {
46 + (id<BaseTree>)newParseTree:(id<Token>)label;
49 - (id<BaseTree>)dupNode;
DRecognitionException.h38 id<BaseTree> node;
48 @property (retain, getter=getNode, setter=setNode:) id<BaseTree>node;
72 - (id<BaseTree>) getNode;
73 - (void) setNode: (id<BaseTree>) aNode;
DTreeVisitorAction.m66 - (id<BaseTree>)pre:(id<BaseTree>) t
79 - (id<BaseTree>)post:(id<BaseTree>) t
119 - (id<BaseTree>)pre:(id<BaseTree>) t
129 - (id<BaseTree>)post:(id<BaseTree>) t
DTreeException.m38 + (id) newException:(id<BaseTree>)theOldRoot newRoot:(id<BaseTree>)theNewRoot stream:(id<IntStream>… argument
43 - (id) initWithOldRoot:(id<BaseTree>)theOldRoot newRoot:(id<BaseTree>)theNewRoot stream:(id<IntStre… argument
62 - (void) setNewRoot:(id<BaseTree>)aTree
71 - (void) setOldRoot:(id<BaseTree>)aTree
DTreeVisitor.m83 - (id<BaseTree>)visit:(id<BaseTree>)t Action:(TreeVisitorAction *)action
88 t = [action pre:(id<BaseTree>)t]; // if rewritten, walk children of new t
91 id<BaseTree> child = [adaptor getChild:t At:i];
92 id<BaseTree> visitResult = [self visit:child Action:action];
93 id<BaseTree> childAfterVisit = [adaptor getChild:t At:i];
98 if ( action != nil && !isNil ) t = [action post:(id<BaseTree>)t];
DTreePatternParser.h55 - (id<BaseTree>) pattern;
56 - (id<BaseTree>) parseTree;
57 - (id<BaseTree>) parseNode;
DTreePatternParser.m82 - (id<BaseTree>)pattern
88 id<BaseTree> node = [self parseNode];
97 - (id<BaseTree>) parseTree
103 id<BaseTree> root = [self parseNode];
113 id<BaseTree> subtree = [self parseTree];
117 id<BaseTree> child = [self parseNode];
131 - (id<BaseTree>) parseNode
DCommonTreeNodeStream.h79 - (BOOL) isEOF:(id<BaseTree>) obj;
112 - (NSString *) toStringFromNode:(id<BaseTree>)startNode ToNode:(id<BaseTree>)stopNode;
DTreeVisitor.h44 - (id<BaseTree>)visit:(id<BaseTree>)t Action:(TreeVisitorAction *)action;
DUniqueIDMap.h61 - (id)getNode:(id<BaseTree>)aNode;
62 - (void)putID:(id)anID Node:(id<BaseTree>)aNode;
DTreeFilter.h184 - (void) applyOnce:(id<BaseTree>)t rule:(fptr *)whichRule;
186 - (void) downup:(id<BaseTree>)t;
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs50 public abstract class BaseTree : ITree class
54 public BaseTree() in BaseTree() method in Antlr.Runtime.Tree.BaseTree
64 public BaseTree( ITree node ) in BaseTree() method in Antlr.Runtime.Tree.BaseTree
210 BaseTree childTree = t as BaseTree; in AddChild()
364 BaseTree baseTree = newTree as BaseTree; in ReplaceChildren()
468 BaseTree baseTree = child as BaseTree; in FreshenParentAndChildIndexesDeeply()
492 BaseTree child = (BaseTree)this.GetChild( c ); in SanityCheckParentAndChildIndexes()
DAntlrRuntime_BaseTreeDebugView.cs39 private readonly BaseTree _tree;
41 public AntlrRuntime_BaseTreeDebugView(BaseTree tree) in AntlrRuntime_BaseTreeDebugView()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTree.java39 public abstract class BaseTree implements Tree { class
42 public BaseTree() { in BaseTree() method in BaseTree
49 public BaseTree(Tree node) { in BaseTree() method in BaseTree
98 BaseTree childTree = (BaseTree)t; in addChild()
205 BaseTree newTree = (BaseTree)t; in replaceChildren()
222 BaseTree child = (BaseTree)newChildren.get(j); in replaceChildren()
287 BaseTree child = (BaseTree)getChild(c); in freshenParentAndChildIndexesDeeply()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs48 public abstract class BaseTree : ITree { class
51 public BaseTree() { in BaseTree() method in Antlr.Runtime.Tree.BaseTree
60 public BaseTree(ITree node) { in BaseTree() method in Antlr.Runtime.Tree.BaseTree
176 BaseTree childTree = t as BaseTree; in AddChild()
288 BaseTree baseTree = newTree as BaseTree; in ReplaceChildren()
373 BaseTree child = (BaseTree)this.GetChild(c); in SanityCheckParentAndChildIndexes()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DBaseTree.as35 public class BaseTree implements Tree { class in org.antlr.runtime.tree
38 /** Create a new node from an existing node does nothing for BaseTree
42 public function BaseTree(node:Tree = null) { method in org.antlr.runtime.tree.BaseTree
49 return BaseTree(_children[i]);
86 var childTree:BaseTree = BaseTree(t);
148 var killed:BaseTree = BaseTree(children.remove(i));
165 var newTree:BaseTree = BaseTree(t);
182 var child:BaseTree = BaseTree(newChildren[j]);
197 var killed:BaseTree = BaseTree(children.remove(indexToDelete));
250 /** BaseTree doesn't track child indexes. */
[all …]

123