Searched refs:Tree (Results 1 - 25 of 239) sorted by relevance

12345678910

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DIAstRuleReturnScope.cs39 object Tree property in interface:Antlr.Runtime.IAstRuleReturnScope
H A DAstParserRuleReturnScope`2.cs39 public TTree Tree property in class:Antlr.Runtime.AstParserRuleReturnScope
52 object IAstRuleReturnScope.Tree
56 return Tree;
H A DIAstRuleReturnScope`1.cs39 new TAstLabel Tree property in interface:Antlr.Runtime.IAstRuleReturnScope
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DAstTreeRuleReturnScope`2.cs33 namespace Antlr.Runtime.Tree
39 public TOutputTree Tree property in class:Antlr.Runtime.Tree.AstTreeRuleReturnScope
52 object IAstRuleReturnScope.Tree
56 return Tree;
H A DTemplateTreeRuleReturnScope`2.cs33 namespace Antlr.Runtime.Tree
H A DTreeRewriter.cs33 namespace Antlr.Runtime.Tree
79 if (showTransformations && r != null && !t.Equals(r.Tree) && r.Tree != null)
80 ReportTransformation(t, r.Tree);
82 if ( r != null && r.Tree != null )
83 return r.Tree;
H A DCommonTreeAdaptor.cs33 namespace Antlr.Runtime.Tree
37 * A TreeAdaptor that works with any Tree implementation. It provides
H A DITreeNodeStream.cs33 namespace Antlr.Runtime.Tree
H A DTreeRuleReturnScope`1.cs33 namespace Antlr.Runtime.Tree
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DTree.js11 org.antlr.runtime.tree.Tree = function(){};
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTree.java44 public interface Tree { interface
45 public static final Tree INVALID_NODE = new CommonTree(Token.INVALID_TOKEN);
47 Tree getChild(int i);
51 // Tree tracks parent and child index now > 3.0
53 public Tree getParent();
55 public void setParent(Tree t);
61 public Tree getAncestor(int ttype);
79 void addChild(Tree t);
82 public void setChild(int i, Tree t);
112 Tree dupNod
[all...]
H A DCommonTreeAdaptor.java33 /** A TreeAdaptor that works with any Tree implementation. It provides
52 return ((Tree)t).dupNode();
90 * Only works with Tree nodes. For rules that match nothing,
100 ((Tree)t).setTokenStartIndex(start);
101 ((Tree)t).setTokenStopIndex(stop);
106 return ((Tree)t).getTokenStartIndex();
111 return ((Tree)t).getTokenStopIndex();
116 return ((Tree)t).getText();
121 return ((Tree)t).getType();
137 return ((Tree)
[all...]
H A DBaseTree.java39 public abstract class BaseTree implements Tree {
49 public BaseTree(Tree node) {
52 public Tree getChild(int i) {
56 return (Tree)children.get(i);
66 public Tree getFirstChildWithType(int type) {
68 Tree t = (Tree) children.get(i);
89 public void addChild(Tree t) {
105 Tree c = (Tree)childTre
[all...]
H A DBaseTreeAdaptor.java37 /** A TreeAdaptor that works with any Tree implementation. */
70 return ((Tree)tree).isNil();
78 * tree (not just Tree interface). It invokes the adaptor routines
107 ((Tree)t).addChild((Tree)child);
139 Tree newRootTree = (Tree)newRoot;
140 Tree oldRootTree = (Tree)oldRoot;
147 if ( nc==1 ) newRootTree = (Tree)newRootTre
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreeConstants.cs33 namespace Antlr.Runtime.Tree
H A DTreeRuleReturnScope.cs33 namespace Antlr.Runtime.Tree {
H A DTreeRewriter.cs33 namespace Antlr.Runtime.Tree {
70 if (r != null && !t.Equals(r.Tree) && r.Tree != null) {
73 ((CommonTree)(object)r.Tree).ToStringTree());
77 if (r != null && r.Tree != null)
78 return r.Tree;
H A DITreeNodeStream.cs33 namespace Antlr.Runtime.Tree {
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DTreeTraverserTest.java36 private static final class Tree { class in class:TreeTraverserTest
38 final List<Tree> children;
40 public Tree(char value, Tree... children) { method in class:TreeTraverserTest.Tree
60 private static final TreeTraverser<Tree> ADAPTER = new TreeTraverser<Tree>() {
62 public Iterable<Tree> children(Tree node) {
88 static final Tree a = new Tree('
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DTreeTraverserTest.java38 private static final class Tree { class in class:TreeTraverserTest
40 final List<Tree> children;
42 public Tree(char value, Tree... children) { method in class:TreeTraverserTest.Tree
62 private static final TreeTraverser<Tree> ADAPTER = new TreeTraverser<Tree>() {
64 public Iterable<Tree> children(Tree node) {
90 static final Tree a = new Tree('
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
H A DDebugGrammarParserHelper.cs34 using Antlr.Runtime.Tree;
H A DProfileGrammarParserHelper.cs34 using Antlr.Runtime.Tree;
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestTreeNodeStream.java48 Tree t = new CommonTree(new CommonToken(101));
62 Tree t = new CommonTree(new CommonToken(101));
78 Tree root = new CommonTree((Token)null);
80 Tree t = new CommonTree(new CommonToken(101));
85 Tree u = new CommonTree(new CommonToken(105));
101 Tree root = new CommonTree((Token)null);
118 Tree root = new CommonTree((Token)null);
133 Tree t = new CommonTree(new CommonToken(101));
148 Tree t = new CommonTree(new CommonToken(101));
154 assertEquals(101, ((Tree)strea
[all...]
H A DTestBufferedTreeNodeStream.java33 import org.antlr.runtime.tree.Tree;
52 Tree r0 = new CommonTree(new CommonToken(101));
53 Tree r1 = new CommonTree(new CommonToken(102));
56 Tree r2 = new CommonTree(new CommonToken(106));
67 assertEquals(107, ((Tree)stream.LT(1)).getType());
71 assertEquals(104, ((Tree)stream.LT(1)).getType());
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DBaseTree.as35 public class BaseTree implements Tree {
42 public function BaseTree(node:Tree = null) {
45 public function getChild(i:int):Tree {
59 public function getFirstChildWithType(type:int):Tree {
61 var t:Tree = Tree(_children[i]);
82 public function addChild(t:Tree):void {
96 var c:Tree = Tree(childTree._children[i]);
124 var t:Tree
[all...]

Completed in 283 milliseconds

12345678910