MCPcopy
hub / github.com/colbymchenry/codegraph / dump-ast.mjs

File dump-ast.mjs

scripts/add-lang/dump-ast.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2// Dump the tree-sitter AST for a sample file so you can write a LanguageExtractor
3// mapping. Loads a grammar .wasm directly via web-tree-sitter (the same runtime
4// codegraph uses) — you do NOT need to register the language first.

Callers

nothing calls this directly

Calls 5

initMethod · 0.80
resolveMethod · 0.80
failFunction · 0.70
resolveWasmFunction · 0.70
walkFunction · 0.70

Tested by

no test coverage detected