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

Method link

src/hx/cppia/Cppia.cpp:1109–1122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1107
1108 const char *getName() HXCPP_OVERRIDE { return "SetExpr"; }
1109 CppiaExpr *link(CppiaModule &inModule) HXCPP_OVERRIDE
1110 {
1111 lvalue = lvalue->link(inModule);
1112 value = value->link(inModule);
1113 CppiaExpr *result = lvalue->makeSetter(op,value);
1114 if (!result)
1115 {
1116 CPPIALOG("Could not makeSetter.\n");
1117 inModule.where(lvalue);
1118 throw "Bad Set expr";
1119 }
1120 delete this;
1121 return result;
1122 }
1123
1124};
1125

Callers

nothing calls this directly

Calls 3

whereMethod · 0.80
linkMethod · 0.45
makeSetterMethod · 0.45

Tested by

no test coverage detected