Esempio n. 1
0
        public override Exp Analy()
        {
            if (this.IsAnalyed)
            {
                return(this);
            }
            if (this.ExpContext == null)
            {
                throw new CCException();
            }
            VarName = VarToken.Text;
            ZLClassInfo zbase = this.ClassContext.GetSuperZType();

            ZField = zbase.SearchField(VarName);
            if (ZField == null)
            {
                throw new CCException();
            }
            RetType   = ZField.ZFieldType;
            IsAnalyed = true;
            return(this);
        }
Esempio n. 2
0
 public static void EmitLoad(ILGenerator il, ZLFieldInfo zfield)
 {
     EmitHelper.LoadField(il, zfield.SharpField);
 }
Esempio n. 3
0
 public static void EmitStorm(ILGenerator il, ZLFieldInfo memberCompiling)
 {
     EmitHelper.StormField(il, memberCompiling.SharpField);
 }