| 124 | const char *getName() HXCPP_OVERRIDE { return "ToCaseExpr"; } |
| 125 | ToCaseExpr(CppiaExpr *inSrc, CppiaExpr *inThis ) : StringExpr(inSrc,inThis) { } |
| 126 | String runString(CppiaCtx *ctx) HXCPP_OVERRIDE |
| 127 | { |
| 128 | String val = strVal->runString(ctx); |
| 129 | BCR_CHECK; |
| 130 | if (UPPER) |
| 131 | return val.toUpperCase(); |
| 132 | else |
| 133 | return val.toLowerCase(); |
| 134 | } |
| 135 | #ifdef CPPIA_JIT |
| 136 | static void SLJIT_CALL strToCase(String *ioVal) |
| 137 | { |
nothing calls this directly
no test coverage detected