public ResElementCtorArg( IResAttributeRef attribute, IResExp value) { this.Attribute = attribute; this.Value = value; }
private MidExp EmitExpImpl(IResAttributeRef resAttrib, MidEmitEnv env) { var wrapper = (MidAttributeWrapperMemberRef)EmitMemberTerm(resAttrib.MemberTerm, env); var type = EmitTypeExp(resAttrib.Type, env); return(new MidAttributeRef(resAttrib.Range, type, env.Lazy(() => { return wrapper.Decl.Attribute; }))); }