mirror of
https://github.com/pnx/tree-sitter-dotenv
synced 2026-08-17 13:38:12 +02:00
No description
"export" was a named node despite always having fixed spelling, with
no variation to expose to queries. Anonymous string literals are
already fully queryable ("export" @keyword), so the named production
added a redundant node in the tree for no benefit.
Keeps the alias("export", $.identifier) in the key field, since that
usage is a genuine reclassification (export as an identifier, not the
keyword) and still needs to be named.
Updated corpus tests to use :cst format where "export" and "="
presence needs to be asserted explicitly.
|
||
|---|---|---|
| .github | ||
| bindings | ||
| docs | ||
| queries | ||
| src | ||
| test | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .tsqueryrc.json | ||
| binding.gyp | ||
| Cargo.toml | ||
| CMakeLists.txt | ||
| go.mod | ||
| go.sum | ||
| grammar.js | ||
| LICENSE | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| Package.swift | ||
| pyproject.toml | ||
| README.md | ||
| setup.py | ||
| tree-sitter.json | ||
tree-sitter-dotenv
tree-sitter grammar for dotenv
Installation
Author
Henrik Hautakoski henrik.hautakoski@gmail.com