MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / value

Method value

source/src/scriptinterpreter.h:958–966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956 case 1: result = value(left, local) + result; break;
957 case 2: result = value(left, local) - result; break;
958 case 3: result = value(left, local) * result; break;
959 case 4: result = value(left, local) / result; break;
960 case 5: result = value(left, local).merge(result); break;
961 }
962 setValue(left, result, local);
963 }
964 }
965 void interpretAll(const std::string& code, QiVarMap* local = nullptr)
966 {
967 if (!initMutex) { ScriptException(ScriptException::error_interpreter_not_init, {}, {}); }
968 else if (initMutex == INVALID_HANDLE_VALUE) { ScriptException(ScriptException::error_interpreter_exited, {}, {}); }
969 if (code.empty()) return;

Callers

nothing calls this directly

Calls 1

QiVarClass · 0.85

Tested by

no test coverage detected