| 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 |
nothing calls this directly
no test coverage detected