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

1 2

  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
TreeExtensions.cs 33 using ITree = Antlr.Runtime.Tree.ITree;
39 public static ITree getNextSibling( this ITree tree )
45 public static void setFirstChild( this ITree tree, ITree child )
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
ITree.cs 50 public interface ITree {
52 ITree GetChild(int i);
60 ITree Parent {
69 ITree GetAncestor(int ttype);
76 IList<ITree> GetAncestors();
92 void AddChild(ITree t);
95 void SetChild(int i, ITree t);
137 ITree DupNode();
TreeConstants.cs 37 public static readonly ITree INVALID_NODE = new CommonTree( Tokens.Invalid );
CommonTreeAdaptor.cs 64 return ((ITree)t).DupNode();
129 ((ITree)t).TokenStartIndex = start;
130 ((ITree)t).TokenStopIndex = stop;
137 return ((ITree)t).TokenStartIndex;
144 return ((ITree)t).TokenStopIndex;
151 return ((ITree)t).Text;
158 return ((ITree)t).Type;
178 return ((ITree)t).GetChild(i);
185 return ((ITree)t).ChildCount;
192 return ((ITree)t).Parent
    [all...]
BaseTree.cs 48 public abstract class BaseTree : ITree {
49 List<ITree> children;
60 public BaseTree(ITree node) {
68 public virtual IList<ITree> Children {
74 #region ITree Members
86 public virtual ITree Parent {
141 public virtual ITree GetChild(int i) {
151 public virtual ITree GetFirstChildWithType(int type) {
152 foreach (ITree child in children) {
168 public virtual void AddChild(ITree t)
    [all...]
BaseTreeAdaptor.cs 78 return ((ITree)tree).IsNil;
87 * tree (not just ITree interface). It invokes the adaptor routines
119 ((ITree)t).AddChild((ITree)child);
155 ITree newRootTree = (ITree)newRoot;
156 ITree oldRootTree = (ITree)oldRoot;
164 newRootTree = (ITree)newRootTree.GetChild(0);
180 ITree r = (ITree)root
    [all...]
CommonTree.cs 124 public override ITree Parent {
184 public override ITree DupNode() {
CommonErrorNode.cs 77 } else if (start is ITree) {
ParseTree.cs 85 public override ITree DupNode() {
DotTreeGenerator.cs 120 public virtual string ToDot( ITree tree )
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
ITree.cs 51 public interface ITree
54 ITree GetChild( int i );
63 ITree Parent
73 ITree GetAncestor( int ttype );
80 IList<ITree> GetAncestors();
97 void AddChild( ITree t );
100 void SetChild( int i, ITree t );
145 ITree DupNode();
AntlrRuntime_BaseTreeDebugView.cs 47 public ITree[] Children
54 ITree[] children = new ITree[_tree.Children.Count];
BaseTree.cs 50 public abstract class BaseTree : ITree
52 private IList<ITree> _children;
64 public BaseTree( ITree node )
73 public virtual IList<ITree> Children
86 #region ITree Members
100 public virtual ITree Parent
169 public virtual ITree GetChild( int i )
180 public virtual ITree GetFirstChildWithType( int type )
182 foreach ( ITree child in Children )
199 public virtual void AddChild( ITree t
    [all...]
BaseTreeAdaptor.cs 84 return ( (ITree)tree ).IsNil;
116 * tree (not just ITree interface). It invokes the adaptor routines
153 ( (ITree)t ).AddChild( (ITree)child );
190 ITree newRootTree = (ITree)newRoot;
191 ITree oldRootTree = (ITree)oldRoot;
201 newRootTree = (ITree)newRootTree.GetChild( 0 );
219 ITree r = (ITree)root
    [all...]
CommonTree.cs 149 public override ITree Parent
240 public override ITree DupNode()
261 foreach (ITree childTree in Children)
275 ITree firstChild = Children[0];
276 ITree lastChild = Children[Children.Count - 1];
TreeRewriter.cs 133 * other than stdout or if you're not using ITree-derived trees.
137 ITree old = oldTree as ITree;
138 ITree @new = newTree as ITree;
CommonErrorNode.cs 88 else if ( start is ITree )
ParseTree.cs 100 public override ITree DupNode()
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
ITreeNodeStreamFixture.cs 43 using ITree = Antlr.Runtime.Tree.ITree;
59 ITree t = new CommonTree(new CommonToken(101));
77 ITree t = new CommonTree(new CommonToken(101));
95 ITree root = new CommonTree((IToken)null);
97 ITree t = new CommonTree(new CommonToken(101));
102 ITree u = new CommonTree(new CommonToken(105));
120 ITree root = new CommonTree((IToken)null);
139 ITree root = new CommonTree((IToken)null);
156 ITree t = new CommonTree(new CommonToken(101))
    [all...]
RewriteRuleXxxxStreamFixture.cs 260 ITree tree1 = CreateTree(token1);
268 Assert.AreEqual(tree1, (ITree) subtreeTest.NextNode(),
288 ITree tree2 = CreateTree(token2);
314 ITree tree1 = CreateTree(token1);
343 ITree tree2 = CreateTree(token2);
373 private ITree CreateTree(IToken token) {
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/
ITreeFactory.cs 37 where TTree : ITree
51 : ITreeFactory<IToken, ITree>
  /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
Antlr.Runtime.Tree.Tests.pas 90 function CreateTree(const Token: IToken): ITree;
333 R2: ITree;
652 T: ITree;
668 T: ITree;
683 T: ITree;
733 T: ITree;
736 Node: ITree;
748 Node := Stream.LT(1) as ITree;
759 Node := Stream.LT(I) as ITree; // look ahead to ith token
766 Root: ITree;
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
RecognitionException.cs 316 } else if (this._node is Tree.ITree) {
317 this._line = ((Tree.ITree)this._node).Line;
318 this._charPositionInLine = ((Tree.ITree)this._node).CharPositionInLine;
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
RecognitionException.cs 386 else if (this._node is Tree.ITree)
388 this._line = ((Tree.ITree)this._node).Line;
389 this._charPositionInLine = ((Tree.ITree)this._node).CharPositionInLine;
  /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
Antlr.Runtime.Tree.pas 438 ITree = interface(IANTLRInterface)
442 function GetParent: ITree;
443 procedure SetParent(const Value: ITree);
461 function GetChild(const I: Integer): ITree;
468 procedure AddChild(const T: ITree);
471 procedure SetChild(const I: Integer; const T: ITree);
484 function DupNode: ITree;
495 property Parent: ITree read GetParent write SetParent;
535 IBaseTree = interface(ITree)
541 function GetParent: ITree;
    [all...]

Completed in 292 milliseconds

1 2