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

Method link

src/hx/cppia/Cppia.cpp:747–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745 }
746
747 CppiaExpr *link(CppiaModule &inModule) HXCPP_OVERRIDE
748 {
749 LinkExpressions(args,inModule);
750 // Should already be linked
751 //function = (ScriptCallable *)function->link(inModule);
752 if (thisExpr)
753 thisExpr = thisExpr->link(inModule);
754 returnType = inModule.types[ function->returnTypeId ]->expressionType;
755 isBoolReturn = inModule.types[ function->returnTypeId ]->haxeClass==ClassOf<bool>();
756 return this;
757 }
758
759 const char *getName() HXCPP_OVERRIDE { return "CallFunExpr"; }
760 ExprType getType() HXCPP_OVERRIDE { return returnType; }

Callers

nothing calls this directly

Calls 2

LinkExpressionsFunction · 0.85
linkMethod · 0.45

Tested by

no test coverage detected