HomeSort by relevance Sort by last modified time
    Searched refs:_tree (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
AntlrRuntime_BaseTreeDebugView.cs 39 private readonly BaseTree _tree; field in class:Antlr.Runtime.Tree.AntlrRuntime_BaseTreeDebugView
43 _tree = tree;
51 if (_tree == null || _tree.Children == null)
54 ITree[] children = new ITree[_tree.Children.Count];
55 _tree.Children.CopyTo(children, 0);
AstTreeRuleReturnScope`2.cs 37 private TOutputTree _tree; field in class:Antlr.Runtime.Tree.AstTreeRuleReturnScope
43 return _tree;
48 _tree = value;
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
AstParserRuleReturnScope`2.cs 37 private TTree _tree; field in class:Antlr.Runtime.AstParserRuleReturnScope
43 return _tree;
48 _tree = value;
  /external/chromium_org/tools/deep_memory_profiler/lib/
range_dict.py 65 self._tree = FastRBTree()
70 begin = self._tree.min_key()
72 end = self._tree.max_item()[1][0]
74 # Assume that self._tree has at least one element.
75 if self._tree.is_empty():
76 self._tree[begin] = (end, self._attr())
80 bound_begin, bound_value = self._tree.floor_item(begin)
85 new_end, _ = self._tree.succ_item(bound_begin)
88 self._tree[begin] = (min(end, new_end), self._attr())
93 self._tree[bound_begin] = (begin, new_value.copy()
    [all...]
  /external/chromium_org/third_party/bintrees/bintrees/
treeslice.py 11 __slots__ = ['_tree', '_start', '_stop']
14 self._tree = tree
19 tpl = "%s({%s})" % (self._tree.__class__.__name__, '%s')
24 return key in self._tree
39 return self._tree[key]
60 return TreeSlice(self._tree, newstart(), newstop())
63 return self._tree.keyslice(self._start, self._stop)
67 return self._tree.valueslice(self._start, self._stop)
70 return self._tree.itemslice(self._start, self._stop)
walker.py 13 __slots__ = ['_node', '_stack', '_tree']
16 self._tree = tree
22 self._node = self._tree.root
41 self._node = self._tree.root
95 node = self._tree.root
147 if self._tree.is_empty():
149 node = self._tree.root
185 node = self._tree.root
205 node = self._tree.root
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
TreeRuleReturnScope.as 41 private var _tree:Object; // if output=AST this contains the tree
46 return _tree;
50 _tree = tree;
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
ASTParser.stg 53 <label>_tree = <createNodeFromToken(...)>;
54 adaptor.addChild(root_0, <label>_tree);
65 <label>_tree = <createNodeFromToken(...)>;
66 root_0 = <ASTLabelType>(adaptor.becomeRoot(<label>_tree, root_0));
161 <label>_tree = <ASTLabelType>(adaptor.create(<label>));
162 adaptor.addChild(root_0, <label>_tree);
171 <label>_tree = <ASTLabelType>(adaptor.create(<label>));
172 root_0 = <ASTLabelType>(adaptor.becomeRoot(<label>_tree, root_0));
ASTTreeParser.stg 119 <label>_tree = new <terminalOptions.node>(<label>);
121 <label>_tree = <ASTLabelType>(adaptor.dupNode(<label>));
123 adaptor.addChild(root_<treeLevel>, <label>_tree);
144 <label>_tree = new <terminalOptions.node>(<label>);
146 <label>_tree = <ASTLabelType>(adaptor.dupNode(<label>));
148 root_<treeLevel> = <ASTLabelType>(adaptor.becomeRoot(<label>_tree, root_<treeLevel>));
165 <label>_tree = (<ASTLabelType>)adaptor.dupTree(<label>);
166 adaptor.addChild(root_<treeLevel>, <label>_tree);
182 <label>_tree = new <terminalOptions.node>(<label>);
184 <label>_tree = <ASTLabelType>(adaptor.dupNode(<label>))
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
ASTParser.stg 52 <label>_tree = <createNodeFromToken(...)>;
53 adaptor.addChild(root_0, <label>_tree);
64 <label>_tree = <createNodeFromToken(...)>;
65 root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_0);
160 <label>_tree = (<ASTLabelType>)adaptor.create(<label>);
161 adaptor.addChild(root_0, <label>_tree);
170 <label>_tree = (<ASTLabelType>)adaptor.create(<label>);
171 root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_0);
ASTTreeParser.stg 118 <label>_tree = new <terminalOptions.node>(<label>);
120 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
122 adaptor.addChild(root_<treeLevel>, <label>_tree);
143 <label>_tree = new <terminalOptions.node>(<label>);
145 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
147 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_<treeLevel>);
164 <label>_tree = (<ASTLabelType>)adaptor.dupTree(<label>);
165 adaptor.addChild(root_<treeLevel>, <label>_tree);
181 <label>_tree = new <terminalOptions.node>(<label>);
183 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>)
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
ASTParser.stg 24 <label>_tree = <createNodeFromToken(...)>;
25 this.adaptor.addChild(root_0, <label>_tree);
36 <label>_tree = <createNodeFromToken(...)>;
37 root_0 = this.adaptor.becomeRoot(<label>_tree, root_0);
132 <label>_tree = this.adaptor.create(<label>);
133 this.adaptor.addChild(root_0, <label>_tree);
142 <label>_tree = this.adaptor.create(<label>);
143 root_0 = this.adaptor.becomeRoot(<label>_tree, root_0);
ASTTreeParser.stg 91 <label>_tree = new <terminalOptions.node>(<label>);
93 <label>_tree = this.adaptor.dupNode(<label>);
95 this.adaptor.addChild(root_<treeLevel>, <label>_tree);
116 <label>_tree = new <terminalOptions.node>(<label>);
118 <label>_tree = this.adaptor.dupNode(<label>);
120 root_<treeLevel> = this.adaptor.becomeRoot(<label>_tree, root_<treeLevel>);
139 <label>_tree = new <terminalOptions.node>(<label>);
141 <label>_tree = this.adaptor.dupNode(<label>);
143 this.adaptor.addChild(root_<treeLevel>, <label>_tree);
165 <label>_tree = new <terminalOptions.node>(<label>)
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
ASTParser.stg 60 <label>_tree = <createNodeFromToken(...)>
61 self._adaptor.addChild(root_0, <label>_tree)
72 <label>_tree = <createNodeFromToken(...)>
73 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
168 <label>_tree = self._adaptor.createWithPayload(<label>)
169 self._adaptor.addChild(root_0, <label>_tree)
178 <label>_tree = self._adaptor.createWithPayload(<label>)
179 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
ASTTreeParser.stg 129 <label>_tree = <terminalOptions.node>(<label>)
131 <label>_tree = self._adaptor.dupNode(<label>)
133 self._adaptor.addChild(root_<treeLevel>, <label>_tree)
156 <label>_tree = <terminalOptions.node>(<label>)
158 <label>_tree = self._adaptor.dupNode(<label>)
160 root_<treeLevel> = self._adaptor.becomeRoot(<label>_tree, root_<treeLevel>)
177 <label>_tree = self._adaptor.dupTree(<label>)
178 self._adaptor.addChild(root_<treeLevel>, <label>_tree)
195 <label>_tree = <terminalOptions.node>(<label>)
197 <label>_tree = self._adaptor.dupNode(<label>
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
ASTTreeParser.stg 135 <label>_tree = <terminalOptions.node>New(<label>);
137 <label>_tree = (<ASTLabelType>)ADAPTOR->dupNode(ADAPTOR, <label>);
139 ADAPTOR->addChild(ADAPTOR, root_<treeLevel>, <label>_tree);
161 <label>_tree = <terminalOptions.node>New(<label>);
163 <label>_tree = (<ASTLabelType>)ADAPTOR->dupNode(ADAPTOR, <label>);
165 root_<treeLevel> = (<ASTLabelType>)ADAPTOR->becomeRoot(ADAPTOR, <label>_tree, root_<treeLevel>);
182 <label>_tree = (<ASTLabelType>)ADAPTOR->dupTree(ADAPTOR, <label>);
183 ADAPTOR->addChild(ADAPTOR, root_<treeLevel>, <label>_tree);
199 <label>_tree = <terminalOptions.node>New(<label>);
201 <label>_tree = (<ASTLabelType>)ADAPTOR->dupNode(ADAPTOR, <label>)
    [all...]
ASTParser.stg 54 <label>_tree = (<ASTLabelType>)(ADAPTOR->create(ADAPTOR, <label>));
55 ADAPTOR->addChild(ADAPTOR, root_0, <label>_tree);
66 <label>_tree = <createNodeFromToken(...)>;
67 root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <label>_tree, root_0));
164 <label>_tree = (<ASTLabelType>)(ADAPTOR->create(ADAPTOR, <label>));
165 ADAPTOR->addChild(ADAPTOR, root_0, <label>_tree);
174 <label>_tree = (<ASTLabelType>)(ADAPTOR->create(ADAPTOR, <label>));
175 root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <label>_tree, root_0));
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
ASTTreeParser.stg 133 <label>_tree := T<terminalOptions.node>.Create(<label>);
135 <label>_tree := Adaptor.DupNode(<label>) as I<ASTLabelType>;
137 Adaptor.AddChild(Root[<treeLevel>], <label>_tree);
163 <label>_tree := T<terminalOptions.node>.Create(<label>);
165 <label>_tree := Adaptor.DupNode(<label>) as I<ASTLabelType>;
167 Root[<treeLevel>] := Adaptor.BecomeRoot(<label>_tree, Root[<treeLevel>]) as I<ASTLabelType>;
188 <label>_tree := T<terminalOptions.node>.Create(<label>);
190 <label>_tree := Adaptor.DupNode(<label>) as I<ASTLabelType>;
192 Adaptor.AddChild(Root[<treeLevel>], <label>_tree);
214 <label>_tree := T<terminalOptions.node>.Create(<label>)
    [all...]
ASTParser.stg 59 <label>_tree := <createNodeFromToken(...)>;
60 Adaptor.AddChild(Root[0], <label>_tree);
76 <label>_tree := <createNodeFromToken(...)>;
77 Root[0] := Adaptor.BecomeRoot(<label>_tree, Root[0]) as I<ASTLabelType>;
177 <label>_tree := Adaptor.CreateNode(<label>) as I<ASTLabelType>;
178 Adaptor.AddChild(Root[0], <label>_tree);
192 <label>_tree := Adaptor.CreateNode(<label>) as I<ASTLabelType>;
193 Root[0] := Adaptor.BecomeRoot(<label>_tree, Root[0]) as I<ASTLabelType>;
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
ASTTreeParser.stg 120 <label>_tree = new <terminalOptions.node>(<label>);
122 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
124 adaptor.addChild(root_<treeLevel>, <label>_tree);
145 <label>_tree = new <terminalOptions.node>(<label>);
147 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
149 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_<treeLevel>);
168 <label>_tree = new <terminalOptions.node>(<label>);
170 <label>_tree = (<ASTLabelType>)adaptor.dupNode(<label>);
172 adaptor.addChild(root_<treeLevel>, <label>_tree);
194 <label>_tree = new <terminalOptions.node>(<label>)
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
ASTParser.stg 55 <label>_tree = <createNodeFromToken(...)>;
56 adaptor.AddChild(root_0, <label>_tree);
67 <label>_tree = <createNodeFromToken(...)>;
68 root_0 = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_0);
163 <label>_tree = (<ASTLabelType>)adaptor.Create(<label>);
164 adaptor.AddChild(root_0, <label>_tree);
173 <label>_tree = (<ASTLabelType>)adaptor.Create(<label>);
174 root_0 = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_0);
ASTTreeParser.stg 121 <label>_tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
123 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
125 adaptor.AddChild(root_<treeLevel>, <label>_tree);
146 <label>_tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
148 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
150 root_<treeLevel> = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_<treeLevel>);
167 <label>_tree = (<ASTLabelType>)adaptor.DupTree(<label>);
168 adaptor.AddChild(root_<treeLevel>, <label>_tree);
184 <label>_tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
186 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label>< (…)
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
ASTParser.stg 57 <\n><label>_tree = <createNodeFromToken(...)>;
58 <\n>adaptor.AddChild(root_0, <label>_tree);
71 <\n><label>_tree = <createNodeFromToken(...)>;
72 <\n>root_0 = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_0);
171 <label>_tree = (<ASTLabelType>)adaptor.Create(<label>);
172 adaptor.AddChild(root_0, <label>_tree);
183 <label>_tree = (<ASTLabelType>)adaptor.Create(<label>);
184 root_0 = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_0);
ASTTreeParser.stg 122 <label>_tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
124 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
126 adaptor.AddChild(root_<treeLevel>, <label>_tree);
147 <label>_tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
149 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
151 root_<treeLevel> = (<ASTLabelType>)adaptor.BecomeRoot(<label>_tree, root_<treeLevel>);
168 <label>_tree = (<ASTLabelType>)adaptor.DupTree(<label>);
169 adaptor.AddChild(root_<treeLevel>, <label>_tree);
185 <label>_tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOptions.text)>,<terminalOptions.text; format="string"><endif>);
187 <label>_tree = (<ASTLabelType>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label>< (…)
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
ASTTreeParser.stg 166 <label>_tree = [ANTLR<terminalOptions.node> newANTLR<terminalOptions.node>:<label>];
168 <label>_tree = (<ASTLabelType> *)[treeAdaptor dupNode:<label>];
170 [treeAdaptor addChild:<label>_tree toTree:root_<treeLevel>];
193 <label>_tree = [ANTLR<terminalOptions.node> newANTLR<terminalOptions.node>:<label>];
195 <label>_tree = (<ASTLabelType> *)[treeAdaptor dupNode:<label>];
197 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:<label>_tree old:root_<treeLevel>];
216 <label>_tree = (<ASTLabelType> *)[adaptor dupTree:<label>];
217 [adaptor addChild:<label>_tree toTree:root_<treeLevel>];
234 <label>_tree = [ANTLR<terminalOptions.node> newANTLR<terminalOptions.node>:<label>];
236 <label>_tree = (<ASTLabelType> *)[adaptor dupNode:<label>]
    [all...]

Completed in 619 milliseconds

1 2 3