Lines Matching defs:Getr
949 std::string Getr;
953 Getr = "\nextern \"C\" __declspec(dllimport) "
957 PID->getGetterMethodDecl(), Getr);
958 Getr += "{ ";
963 Getr += "typedef ";
965 RewriteTypeIntoString(PID->getGetterMethodDecl()->getReturnType(), Getr,
967 Getr += " _TYPE";
969 Getr += ")"; // close the precedence "scope" for "*".
973 Getr += "(";
975 if (i) Getr += ", ";
978 Getr += ParamStr;
982 Getr += ", ";
983 Getr += "...";
985 Getr += ")";
987 Getr += "()";
989 Getr += ";\n";
990 Getr += "return (_TYPE)";
991 Getr += "objc_getProperty(self, _cmd, ";
992 RewriteIvarOffsetComputation(OID, Getr);
993 Getr += ", 1)";
996 Getr += "return " + getIvarAccessString(OID);
997 Getr += "; }";
998 InsertText(startGetterSetterLoc, Getr);