binding

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: AGPL-3.0, MIT Imports: 3 Imported by: 0

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

func GetLanguage() *sitter.Language

GetLanguage returns the Solidity *sitter.Language singleton.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL