mirror of https://github.com/Wilfred/difftastic/
|
|
||
|---|---|---|
| .github/workflows | ||
| bindings | ||
| examples | ||
| queries | ||
| src | ||
| test | ||
| .gitignore | ||
| Cargo.toml | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| binding.gyp | ||
| grammar.js | ||
| package.json | ||
README.md
tree-sitter-qmljs
QML grammar for the tree-sitter parsing library.
References
Pitfalls
Since grouped binding notation is syntactically ambiguous, it is parsed as an object definition.
// (ui_object_definition type_name: (identifier "Button") ...)
Button {
// (ui_object_definition type_name: (identifier "icon") ...)
icon { source: "foo.png"; color: "transparent" }
}