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); }
public InsertNode(AuxiliaryTree t, TreeLocation l) : this(new HoldTreeNode(t), l) { // Copy occurs in HoldTreeNode's `evaluate` method needsCopy = false; }
public InsertNode(TsurgeonPattern child, TreeLocation l) : base("insert", new TsurgeonPattern[] { child }) { this.location = l; }
public MoveNode(TsurgeonPattern child, TreeLocation l) : base("move", new TsurgeonPattern[] { child }) { this.location = l; }