This refactor brings this grammar more in line with tree-sitter-rust.
A function or type declaration may have a visibility modifier ("pub") and
type declarations may also have an opacity modifier ("opaque"). This ends
up reducing the number of named rules, which cleans up the queries a bit.
closes #17
This refactor brings this grammar more in line with tree-sitter-rust. A function or type declaration may have a visibility modifier ("pub") and type declarations may also have an opacity modifier ("opaque"). This ends up reducing the number of named rules, which cleans up the queries a bit.