Languages / HCL · Edit coverage JSON

Tier 1 · AST coverage

HCL

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

Grammar
tree-sitter-hcl@1.1.0
Plugin
HclPlugin (rgctl-lang-hcl)
Extensions
.hcl, .tf, .tfvars
Discover
rgctl discover . -l hcl --with-cfg

Handler summary

HandlerKinds
Symbol1
Relation1
CfgStatement1
AstSkeleton0
Literal0
Skip61

Symbol (1)

  • block

Relation (1)

  • function_call

CfgStatement (1)

  • conditional

Skip (61)

  • attr_splat
  • attribute
  • binary_operation
  • block_end
  • block_start
  • body
  • bool_lit
  • collection_value
  • comment
  • config_file
  • ellipsis
  • expression
  • for_cond
  • for_expr
  • for_intro
  • for_object_expr
  • for_tuple_expr
  • full_splat
  • function_arguments
  • get_attr
  • heredoc_identifier
  • heredoc_start
  • heredoc_template
  • identifier
  • index
  • legacy_index
  • literal_value
  • new_index
  • null_lit
  • numeric_lit
  • object
  • object_elem
  • object_end
  • object_start
  • operation
  • quoted_template
  • quoted_template_end
  • quoted_template_start
  • splat
  • string_lit
  • strip_marker
  • template_directive
  • template_directive_end
  • template_directive_start
  • template_else_intro
  • template_expr
  • template_for
  • template_for_end
  • template_for_start
  • template_if
  • template_if_end
  • template_if_intro
  • template_interpolation
  • template_interpolation_end
  • template_interpolation_start
  • template_literal
  • tuple
  • tuple_end
  • tuple_start
  • unary_operation
  • variable_expr

Related: Tier 1 language support · Discovering and indexing