Documentation
¶
Overview ¶
Package binding wraps the tree-sitter-solidity grammar (vendored from github.com/JoranHonig/tree-sitter-solidity v1.2.11, MIT-licensed) into a *sitter.Language usable by github.com/tree-sitter/go-tree-sitter.
We vendor instead of importing because the upstream repo ships only C/Node/ Python/Rust/Swift bindings — no Go binding is published. The vendored grammar declares LANGUAGE_VERSION=14, which is within the MIN_COMPATIBLE_LANGUAGE_VERSION..LANGUAGE_VERSION range supported by upstream go-tree-sitter v0.25 (window 13..15). See LICENSE in this directory for the upstream MIT terms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLanguage ¶
GetLanguage returns the Solidity *sitter.Language singleton.
Types ¶
This section is empty.