Пример #1
0
 private Context(Loop loop, HashSet<Node> until, TryStructure tryContext)
 {
     this.loop = loop;
     this.until = until;
     this.tryContext = tryContext;
 }
Пример #2
0
 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);
 }
Пример #3
0
 public Context()
 {
     this.loop = null;
     this.tryContext = null;
     this.until = new HashSet<Node>();
 }