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

Method runObject

src/hx/cppia/StringBuiltin.cpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 String runString(CppiaCtx *ctx) HXCPP_OVERRIDE { return Dynamic(runObject(ctx)); }
94 int runInt(CppiaCtx *ctx) HXCPP_OVERRIDE { return 0; }
95 hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE
96 {
97 String val = strVal->runString(ctx);
98 BCR_CHECK;
99 return ( KEYS ? val.keyValueIterator() : val.iterator() ).mPtr;
100 }
101
102 #ifdef CPPIA_JIT
103 static hx::Object *SLJIT_CALL run(String *inValue)

Callers

nothing calls this directly

Calls 3

keyValueIteratorMethod · 0.80
iteratorMethod · 0.80
runStringMethod · 0.45

Tested by

no test coverage detected