Lines Matching defs:Getr
795 std::string Getr;
799 Getr = "\nextern \"C\" __declspec(dllimport) "
803 PID->getGetterMethodDecl(), Getr);
804 Getr += "{ ";
809 Getr += "typedef ";
811 RewriteTypeIntoString(PID->getGetterMethodDecl()->getReturnType(), Getr,
813 Getr += " _TYPE";
815 Getr += ")"; // close the precedence "scope" for "*".
819 Getr += "(";
821 if (i) Getr += ", ";
824 Getr += ParamStr;
828 Getr += ", ";
829 Getr += "...";
831 Getr += ")";
833 Getr += "()";
835 Getr += ";\n";
836 Getr += "return (_TYPE)";
837 Getr += "objc_getProperty(self, _cmd, ";
838 RewriteIvarOffsetComputation(OID, Getr);
839 Getr += ", 1)";
842 Getr += "return " + getIvarAccessString(OID);
843 Getr += "; }";
844 InsertText(onePastSemiLoc, Getr);