Example #1
0
 public LithpOpChain(LithpOpChain parent, LithpOpChain body, bool scoped)
     : base(body.ToArray())
 {
     Closure = new LithpClosure(parent.Closure);
     Parent  = parent;
     Scoped  = scoped;
 }
Example #2
0
 /// <summary>
 /// Create a new closure with the specified parent
 /// </summary>
 /// <param name="parent"></param>
 public LithpClosure(LithpClosure parent)
 {
     Parent  = parent;
     TopMost = parent.TopMost ?? this;
 }
Example #3
0
 /// <summary>
 /// Create a new closure with no parent
 /// </summary>
 public LithpClosure()
 {
     Parent  = null;
     TopMost = this;
 }
Example #4
0
 public LithpOpChain(LithpOpChain parent)
 {
     Closure = new LithpClosure(parent.Closure);
     Parent  = parent;
     Scoped  = false;
 }
Example #5
0
 public LithpOpChain()
 {
     Closure = new LithpClosure();
     Parent  = null;
     Scoped  = false;
 }