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

Method runString

src/hx/cppia/Cppia.cpp:7304–7318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7302 right->runVoid(ctx);
7303 }
7304 String runString(CppiaCtx *ctx) HXCPP_OVERRIDE
7305 {
7306 if (AS_DYNAMIC)
7307 {
7308 Dynamic lval = left->runObject(ctx);
7309 BCR_CHECK;
7310 return lval + Dynamic(right->runObject(ctx));
7311 }
7312 else
7313 {
7314 String lval = left->runString(ctx);
7315 BCR_CHECK;
7316 return lval + right->runString(ctx);
7317 }
7318 }
7319 hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE
7320 {
7321 if (AS_DYNAMIC)

Callers

nothing calls this directly

Calls 3

DynamicClass · 0.50
runObjectMethod · 0.45
runStringMethod · 0.45

Tested by

no test coverage detected