Esempio n. 1
0
 internal LocationMatcher(TreeLocation _enclosing, IDictionary <string, Tree> newNodeNames, CoindexationGenerator coindexer)
 {
     this._enclosing   = _enclosing;
     this.newNodeNames = newNodeNames;
     this.coindexer    = coindexer;
     this.childMatcher = this._enclosing.child.Matcher(newNodeNames, coindexer);
 }
Esempio n. 2
0
 public InsertNode(AuxiliaryTree t, TreeLocation l)
     : this(new HoldTreeNode(t), l)
 {
     // Copy occurs in HoldTreeNode's `evaluate` method
     needsCopy = false;
 }
Esempio n. 3
0
 public InsertNode(TsurgeonPattern child, TreeLocation l)
     : base("insert", new TsurgeonPattern[] { child })
 {
     this.location = l;
 }
Esempio n. 4
0
 public MoveNode(TsurgeonPattern child, TreeLocation l)
     : base("move", new TsurgeonPattern[] { child })
 {
     this.location = l;
 }