MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / link

Method link

src/hx/cppia/Cppia.cpp:4995–5006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

LinkExpressionsFunction · 0.85

Tested by

no test coverage detected