/external/antlr/runtime/ObjC/Framework/ |
D | BaseTreeAdaptor.h | 61 - (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 …]
|
D | BaseTree.h | 31 @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 …]
|
D | DebugTreeAdaptor.m | 92 - (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 …]
|
D | TreeIterator.h | 42 __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 …]
|
D | BaseTree.m | 27 #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 …]
|
D | CommonTreeAdaptor.m | 55 - (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 …]
|
D | TreeException.h | 32 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;
|
D | TreeVisitorAction.h | 56 - (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;
|
D | NodeMapElement.h | 37 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;
|
D | ParseTree.h | 37 @interface ParseTree : BaseTree <BaseTree> { 46 + (id<BaseTree>)newParseTree:(id<Token>)label; 49 - (id<BaseTree>)dupNode;
|
D | TreeVisitorAction.m | 66 - (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
|
D | TreeVisitor.m | 83 - (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];
|
D | TreeException.m | 38 + (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
|
D | RecognitionException.h | 38 id<BaseTree> node; 48 @property (retain, getter=getNode, setter=setNode:) id<BaseTree>node; 72 - (id<BaseTree>) getNode; 73 - (void) setNode: (id<BaseTree>) aNode;
|
D | TreePatternParser.m | 82 - (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
|
D | TreePatternParser.h | 55 - (id<BaseTree>) pattern; 56 - (id<BaseTree>) parseTree; 57 - (id<BaseTree>) parseNode;
|
D | CommonTreeNodeStream.h | 79 - (BOOL) isEOF:(id<BaseTree>) obj; 112 - (NSString *) toStringFromNode:(id<BaseTree>)startNode ToNode:(id<BaseTree>)stopNode;
|
D | TreeVisitor.h | 44 - (id<BaseTree>)visit:(id<BaseTree>)t Action:(TreeVisitorAction *)action;
|
D | UniqueIDMap.h | 61 - (id)getNode:(id<BaseTree>)aNode; 62 - (void)putID:(id)anID Node:(id<BaseTree>)aNode;
|
D | UniqueIDMap.m | 153 - (id)getNode:(id<BaseTree>)aNode 158 idx = [(id<BaseTree>)aNode type]; 169 - (void)putID:(id)anID Node:(id<BaseTree>)aNode 174 idx = [(id<BaseTree>)aNode type];
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | BaseTree.cs | 50 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()
|
D | AntlrRuntime_BaseTreeDebugView.cs | 39 private readonly BaseTree _tree; 41 public AntlrRuntime_BaseTreeDebugView(BaseTree tree) in AntlrRuntime_BaseTreeDebugView()
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | BaseTree.java | 39 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/ |
D | BaseTree.cs | 48 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/ |
D | BaseTree.as | 35 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 …]
|