protected Engine(BinderFactory factory) { Contract.Requires<ArgumentNullException>(factory != null); Factory = factory; Global = new Scope(); In = Console.In; Out = Console.Out; DefaultEncoding = Encoding.Default; }
public ScopeMetaObject(Scope self, Expression expr) : base(expr, BindingRestrictions.GetExpressionRestriction(Expression.TypeIs(expr, typeof(Scope))), self) { }
public Scope(Scope parent) { _parent = parent; }
public Scope() { _parent = null; }