MCPcopy Create free account
hub / github.com/YunYouJun/advjs / parse

Function parse

packages/parser/src/syntax/code.ts:27–30  ·  view source on GitHub ↗
(val: string)

Source from the content-addressed store, hash-verified

25 {
26 suffix: ['advnode', 'json'],
27 parse(val: string): AdvAst.CodeOperation[] {
28 const data = JSON.parse(val)
29 return Array.isArray(data) ? data : [data]
30 },
31 },
32 {
33 suffix: ['yml', 'yaml'],

Callers

nothing calls this directly

Calls 2

parseMethod · 0.80
loadMethod · 0.80

Tested by

no test coverage detected