| 999 | } |
| 1000 | |
| 1001 | [[maybe_unused]] static GameValue StringEval(const GameState* state, GameValuePar oper1) |
| 1002 | { |
| 1003 | GameVarSpace local(state->GetContext()); |
| 1004 | state->BeginContext(&local); |
| 1005 | RString expression = oper1; |
| 1006 | GameValue ret = state->Evaluate(expression); |
| 1007 | state->EndContext(); |
| 1008 | return ret; |
| 1009 | } |
| 1010 | |
| 1011 | // parseSimpleArray string — evaluate a string representation of a SQF value |
| 1012 | // (typically an array literal like "[1,2,3]") and return it as a GameValue. |
nothing calls this directly
no test coverage detected