| 1280 | ////////////////////////////////////////////////////////////////////////// |
| 1281 | |
| 1282 | BfPropertyMethodDeclaration* BfPropertyDeclaration::GetMethod(const StringImpl& findName) |
| 1283 | { |
| 1284 | String methodName; |
| 1285 | |
| 1286 | for (auto& methodDeclaration : mMethods) |
| 1287 | { |
| 1288 | if (methodDeclaration->mNameNode != NULL) |
| 1289 | { |
| 1290 | methodName.Clear(); |
| 1291 | methodDeclaration->mNameNode->ToString(methodName); |
| 1292 | |
| 1293 | if (methodName == findName) |
| 1294 | return methodDeclaration; |
| 1295 | } |
| 1296 | } |
| 1297 | return NULL; |
| 1298 | } |
| 1299 | |
| 1300 | ////////////////////////////////////////////////////////////////////////// |
| 1301 |
no test coverage detected