Example #1
0
 public static Scope CreateFunctionChild(Scope parent)
 {
     return new Scope
                {
                    parent = parent,
                    returnLabel = Expr.Label(typeof(object))
                };
 }
Example #2
0
 public static Scope CreateChild(Scope parent)
 {
     return new Scope
                {
                    parent = parent,
                    breakLabel = parent.breakLabel
                };
 }