tree-sitter-grammar.eclass

Name

tree-sitter-grammar.eclass -- Common functions and variables for Tree Sitter grammars

Supported EAPIs

8

Exported Phases

  • src_compile

  • src_install

Functions

tree-sitter-grammar_src_compile

Compiles the Tree Sitter parser as a shared library.

tree-sitter-grammar_src_install

Installs the Tree Sitter parser library.

Variables

TS_PV (SET BEFORE INHERIT)

Used to override upstream tag name if tagged differently, e.g. most releases are v${PV} but some are tagged as rust-${PV}.

Authors

Matthew Smith <matthew@gentoo.org>

Maintainers

Matthew Smith <matthew@gentoo.org>

Nick Sarnie <sarnex@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/