| 128 | } |
| 129 | |
| 130 | IFaceFunction IFaceTable::GetPropertyFuncByMessage(int message) const { |
| 131 | for (const auto &prop : properties) { |
| 132 | if (prop.getter == message) { |
| 133 | return prop.GetterFunction(); |
| 134 | } |
| 135 | else if (prop.setter == message) { |
| 136 | return prop.SetterFunction(); |
| 137 | } |
| 138 | } |
| 139 | return { "invalid", -1, iface_void, {iface_void, iface_void} }; |
| 140 | } |
| 141 | |
| 142 | std::vector<std::string> IFaceTable::GetAllConstantNames() const { |
| 143 | std::vector<std::string> kws; |
no test coverage detected