Skip to main content

Crate tree_sitter_bash

Crate tree_sitter_bash 

Source
Expand description

The bash tree-sitter grammar for the ported runtime: its tables (decoded from tables.bin) and lexer (lex.rs), converted from the grammar’s src/parser.c.

Upstream: tree-sitter-bash 0.25.1 (https://github.com/tree-sitter/tree-sitter-bash, tag v0.25.1). Generated: do not edit by hand, except the scanner (scanner.rs).

Constants§

LANGUAGE
The grammar, for tree_sitter::Language::new(LANGUAGE) or LANGUAGE.into(), as with tree-sitter-bash’s tree_sitter_bash::LANGUAGE.

Functions§

language
The grammar’s tables (the C tree_sitter_bash()), decoded on first use.