Languages / Bash · Edit coverage JSON

Tier 1 · AST coverage

Bash

Support matrix rendered from bash-ast-coverage.json. Update that file when bumping the grammar; the site regenerates on the next build.

Grammar
tree-sitter-bash@0.25.1
Plugin
BashPlugin (rgctl-lang-bash)
Extensions
.sh, .bash
Discover
rgctl discover . -l bash --with-cfg

Handler summary

HandlerKinds
Symbol1
Relation1
CfgStatement5
AstSkeleton0
Literal0
Skip52

Symbol (1)

  • function_definition

Relation (1)

  • command

CfgStatement (5)

  • case_statement
  • for_statement
  • if_statement
  • pipeline
  • while_statement

Skip (52)

  • ansi_c_string
  • arithmetic_expansion
  • array
  • binary_expression
  • brace_expression
  • c_style_for_statement
  • case_item
  • command_name
  • command_substitution
  • comment
  • compound_statement
  • concatenation
  • declaration_command
  • do_group
  • elif_clause
  • else_clause
  • expansion
  • extglob_pattern
  • file_descriptor
  • file_redirect
  • heredoc_body
  • heredoc_content
  • heredoc_end
  • heredoc_redirect
  • heredoc_start
  • herestring_redirect
  • list
  • negated_command
  • number
  • parenthesized_expression
  • postfix_expression
  • process_substitution
  • program
  • raw_string
  • redirected_statement
  • regex
  • simple_expansion
  • special_variable_name
  • string
  • string_content
  • subscript
  • subshell
  • ternary_expression
  • test_command
  • test_operator
  • translated_string
  • unary_expression
  • unset_command
  • variable_assignment
  • variable_assignments
  • variable_name
  • word

Related: Tier 1 language support · Discovering and indexing