| 222 | |
| 223 | |
| 224 | ::String runString(CppiaCtx *ctx) HXCPP_OVERRIDE |
| 225 | { |
| 226 | if (FUNC==afJoin) |
| 227 | { |
| 228 | ArrayAnyImpl *thisVal = (ArrayAnyImpl *)thisExpr->runObject(ctx); |
| 229 | BCR_CHECK; |
| 230 | Dynamic a0 = args[0]->runObject(ctx); |
| 231 | BCR_CHECK; |
| 232 | return thisVal->CALL(join)( a0 ); |
| 233 | } |
| 234 | |
| 235 | if (FUNC==afToString) |
| 236 | { |
| 237 | ArrayAnyImpl *thisVal = (ArrayAnyImpl *)thisExpr->runObject(ctx); |
| 238 | BCR_CHECK; |
| 239 | return thisVal->toString(); |
| 240 | } |
| 241 | |
| 242 | hx::Object *obj = runObject(ctx); |
| 243 | return obj ? obj->toString() : ::String(); |
| 244 | } |
| 245 | |
| 246 | hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE |
| 247 | { |