EvaluateAsWrappedNamespace() private method

private EvaluateAsWrappedNamespace ( bool giveErrorIfNameInUse ) : WrappedNamespace
giveErrorIfNameInUse bool
return WrappedNamespace
コード例 #1
0
 internal Import(Context context, AST name)
   : base(context) {
   if (name == null) //could happen if constructed while in error recovery mode
     return;
   WrappedNamespace ns = name.EvaluateAsWrappedNamespace(true);
   this.Engine.SetEnclosingContext(ns);
   this.name = ns.name;
 }
コード例 #2
0
 internal Import(Context context, AST name) : base(context)
 {
     if (name != null)
     {
         WrappedNamespace ob = name.EvaluateAsWrappedNamespace(true);
         base.Engine.SetEnclosingContext(ob);
         this.name = ob.name;
     }
 }
コード例 #3
0
 internal Import(Context context, AST name) : base(context)
 {
     if (name != null)
     {
         WrappedNamespace ob = name.EvaluateAsWrappedNamespace(true);
         base.Engine.SetEnclosingContext(ob);
         this.name = ob.name;
     }
 }
コード例 #4
0
        internal Import(Context context, AST name)
            : base(context)
        {
            if (name == null) //could happen if constructed while in error recovery mode
            {
                return;
            }
            WrappedNamespace ns = name.EvaluateAsWrappedNamespace(true);

            this.Engine.SetEnclosingContext(ns);
            this.name = ns.name;
        }