MCPcopy Index your code
hub / github.com/markdoc/markdoc / resolve

Method resolve

src/ast/function.ts:15–21  ·  view source on GitHub ↗
(config: Config = {})

Source from the content-addressed store, hash-verified

13 }
14
15 resolve(config: Config = {}) {
16 const fn = config?.functions?.[this.name];
17 if (!fn) return null;
18
19 const parameters = resolve(this.parameters, config);
20 return fn.transform?.(parameters, config);
21 }
22}

Callers

nothing calls this directly

Calls 2

resolveFunction · 0.90
transformMethod · 0.65

Tested by

no test coverage detected