| 4993 | |
| 4994 | const char *getName() HXCPP_OVERRIDE { return "ArrayDef"; } |
| 4995 | CppiaExpr *link(CppiaModule &inModule) HXCPP_OVERRIDE |
| 4996 | { |
| 4997 | TypeData *type = inModule.types[classId]; |
| 4998 | arrayType = type->arrayType; |
| 4999 | if (!arrayType) |
| 5000 | { |
| 5001 | CPPIALOG("ArrayDef of non array-type %s\n", type->name.out_str()); |
| 5002 | throw "Bad ArrayDef"; |
| 5003 | } |
| 5004 | LinkExpressions(items,inModule); |
| 5005 | return this; |
| 5006 | } |
| 5007 | |
| 5008 | hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE |
| 5009 | { |
nothing calls this directly
no test coverage detected