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

Method exec

source/src/scriptinterpreter.cpp:730–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728{
729 QiFunc_rms() : QiFunc(1, ~size_t(0)) {}
730 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
731 {
732 if (args.size() == 1) return QiVar::removeChars(args[0].toString());
733 std::string result = args[0].toString();
734 for (size_t i = 1; i < args.size(); i++) result = QiVar::removeStr(result, args[i].toString());
735 return result;
736 }
737};
738/*
739any value

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected