Files
codebase-memory-mcp/internal/cbm/grammar_qml.c
Martin Vogel f16f9dcf01 feat(lang): add Qt QML language support
Vendor the MIT-licensed tree-sitter-qmljs grammar (a TypeScript superset with
declarative ui_* nodes) and wire .qml files through the full pipeline: language
enum, extension + display-name mapping, grammar shim, and a language spec that
reuses the JS/TS function/call/branch arrays and adds QML class/field/import
types (ui_inline_component, ui_property, ui_signal, ui_import).

QML files now produce Function nodes (incl. JS functions inside QML objects),
class/interface/enum nodes, imports and CALLS edges, so call chains through a
Qt project's .qml files can be traced. LICENSE vendored alongside the grammar.

Closes #42
2026-06-01 18:07:05 +02:00

5 lines
211 B
C

// Vendored tree-sitter grammar: qml (Qt QML / QMLJS)
// Each grammar compiled as separate unit (conflicting static symbols).
#include "vendored/grammars/qml/parser.c"
#include "vendored/grammars/qml/scanner.c"