Inheritance: IWrapVisitor
Example #1
0
        private CTerm UnwrapType(CType type, out string wrap)
        {
            CTerm core;

            if (type is CWrap)
            {
                AttrWrapMaker maker = new AttrWrapMaker(this);
                type.UnwrapTo(maker, out core);
                wrap = maker.Value;
            }
            else
            {
                core = (CTerm)type;
                wrap = "";
            }
            return(core);
        }
Example #2
0
 private CTerm UnwrapType(CType type, out string wrap)
 {
     CTerm core;
     if (type is CWrap)
     {
         AttrWrapMaker maker = new AttrWrapMaker(this);
         type.UnwrapTo(maker, out core);
         wrap = maker.Value;
     }
     else
     {
         core = (CTerm)type;
         wrap = "";
     }
     return core;
 }