| 76 | } |
| 77 | |
| 78 | ScriptNamedFunction HaxeNativeClass::findFunction(const std::string &inName) |
| 79 | { |
| 80 | if (functions) |
| 81 | for(ScriptNamedFunction *f=functions;f->name;f++) |
| 82 | if (inName == f->name && !f->isStatic) |
| 83 | return *f; |
| 84 | if (haxeSuper) |
| 85 | return haxeSuper->findFunction(inName); |
| 86 | |
| 87 | return ScriptNamedFunction(0,0,0,0,0); |
| 88 | } |
| 89 | |
| 90 | |
| 91 | ScriptNamedFunction HaxeNativeClass::findStaticFunction(String inName) |
no test coverage detected