MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / collectArgumentKeyRenameMap

Function collectArgumentKeyRenameMap

Rewrite-Parser.beta.js:2168–2176  ·  view source on GitHub ↗
(box)

Source from the content-addressed store, hash-verified

2166}
2167
2168function collectArgumentKeyRenameMap(box) {
2169 for (let i = 0; i < box.length; i++) {
2170 if (isJsonObjectArgument(box[i].jsarg)) {
2171 formatLoonJsonArgument(box[i].jsarg)
2172 continue
2173 }
2174 parseSurgeTemplateArgumentPairs(box[i].jsarg)
2175 }
2176}
2177
2178function getTemplateKeys(str) {
2179 str = stripWrapQuote(str)

Callers 1

Calls 3

isJsonObjectArgumentFunction · 0.85
formatLoonJsonArgumentFunction · 0.85

Tested by

no test coverage detected