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

Method exec

source/src/scriptinterpreter.cpp:1467–1490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1465 QiFunc_csv_cols() : QiFunc(1) {}
1466 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
1467 {
1468 return CsvTool::cols(args[0].toString());
1469 }
1470};
1471struct QiFunc_csv_read : public QiFunc
1472{
1473 QiFunc_csv_read() : QiFunc(3) {}
1474 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
1475 {
1476 return CsvTool::read(args[0].toString(), args[1].toInteger(), args[2].toInteger());
1477 }
1478};
1479struct QiFunc_csv_write : public QiFunc
1480{
1481 QiFunc_csv_write() : QiFunc(4) {}
1482 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
1483 {
1484 long long row = args[1].toInteger();
1485 long long col = args[2].toInteger();
1486 if (row < 0 || col < 0) return {};
1487 return CsvTool::write(args[0].toString(), row, col, args[3].toString());
1488 }
1489};
1490
1491struct QiFunc_clip_read : public QiFunc
1492{
1493 QiFunc_clip_read() : QiFunc(0) {}

Callers

nothing calls this directly

Calls 6

getOutputDefaultMethod · 0.80
toIntegerMethod · 0.80
getPeakVolumeMethod · 0.80
getAverageVolumeMethod · 0.80
sizeMethod · 0.45
toBoolMethod · 0.45

Tested by

no test coverage detected