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

Method runString

src/hx/cppia/Cppia.cpp:777–786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775 //CallFunExprVal(String ,runString, runContextConvertString);
776
777 String runString(CppiaCtx *ctx) HXCPP_OVERRIDE
778 {
779 unsigned char *pointer = ctx->pointer;
780 function->pushArgs(ctx,thisExpr?thisExpr->runObject(ctx):ctx->getThis(false),args);
781 BCR_CHECK;
782 AutoStack save(ctx,pointer);
783 if (isBoolReturn)
784 return String(ctx->runInt(function) ? true : false );
785 return runContextConvertString(ctx, function->getReturnType(), function);
786 }
787
788 hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE
789 {

Callers

nothing calls this directly

Calls 7

runContextConvertStringFunction · 0.85
pushArgsMethod · 0.80
getReturnTypeMethod · 0.80
StringClass · 0.50
runObjectMethod · 0.45
getThisMethod · 0.45
runIntMethod · 0.45

Tested by

no test coverage detected