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