private Context(Loop loop, HashSet<Node> until, TryStructure tryContext) { this.loop = loop; this.until = until; this.tryContext = tryContext; }
public Context NewTry(TryStructure tryContext) { var until = this.until; if (tryContext.Follow != null) { until = this.until.NewAdd(tryContext.Follow); } return new Context(this.loop, until, tryContext); }
public Context() { this.loop = null; this.tryContext = null; this.until = new HashSet<Node>(); }