Languages / Groovy · Edit coverage JSON

AST coverage

Groovy

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

Grammar
tree-sitter-groovy@0.1.2
Plugin
GroovyPlugin (rgctl-lang-groovy)
Extensions
.groovy, .gradle
Discover
rgctl discover . -l groovy --with-cfg

Handler summary

HandlerKinds
Symbol14
Relation8
CfgStatement22
AstSkeleton9
Literal17
Skip80

Symbol (14)

  • annotation_type_declaration
  • class_declaration
  • closure
  • compact_constructor_declaration
  • constant_declaration
  • constructor_declaration
  • enum_constant
  • enum_declaration
  • field_declaration
  • function_definition
  • import_declaration
  • interface_declaration
  • method_declaration
  • package_declaration

Relation (8)

  • annotation
  • explicit_constructor_invocation
  • extends_interfaces
  • juxt_function_call
  • marker_annotation
  • method_invocation
  • method_reference
  • object_creation_expression

CfgStatement (22)

  • assert_statement
  • assignment_expression
  • block
  • break_statement
  • catch_clause
  • continue_statement
  • do_statement
  • enhanced_for_statement
  • expression_statement
  • finally_clause
  • for_statement
  • if_statement
  • labeled_statement
  • return_statement
  • switch_block
  • switch_block_statement_group
  • switch_expression
  • switch_rule
  • throw_statement
  • try_statement
  • while_statement
  • yield_statement

AstSkeleton (9)

  • argument_list
  • class_body
  • constructor_body
  • enum_body
  • formal_parameter
  • formal_parameters
  • interface_body
  • modifiers
  • program

Literal (17)

  • array_literal
  • binary_integer_literal
  • block_comment
  • character_literal
  • decimal_floating_point_literal
  • decimal_integer_literal
  • escape_sequence
  • false
  • hex_floating_point_literal
  • hex_integer_literal
  • line_comment
  • map_literal
  • multiline_string_fragment
  • null_literal
  • octal_integer_literal
  • string_literal
  • true

Skip (80)

  • annotated_type
  • annotation_argument_list
  • annotation_type_body
  • annotation_type_element_declaration
  • array_access
  • array_creation_expression
  • array_initializer
  • array_type
  • asterisk
  • binary_expression
  • boolean_type
  • cast_expression
  • catch_formal_parameter
  • catch_type
  • class_literal
  • dimensions
  • dimensions_expr
  • element_value_array_initializer
  • element_value_pair
  • enum_body_declarations
  • exports_module_directive
  • field_access
  • floating_point_type
  • generic_type
  • guard
  • identifier
  • inferred_parameters
  • instanceof_expression
  • integral_type
  • lambda_expression
  • local_variable_declaration
  • map_item
  • module_body
  • module_declaration
  • opens_module_directive
  • parenthesized_expression
  • pattern
  • permits
  • provides_module_directive
  • range_expression
  • receiver_parameter
  • record_declaration
  • record_pattern
  • record_pattern_body
  • record_pattern_component
  • requires_modifier
  • requires_module_directive
  • resource
  • resource_specification
  • scoped_identifier
  • scoped_type_identifier
  • shebang
  • spread_parameter
  • static_initializer
  • string_fragment
  • string_interpolation
  • super
  • super_interfaces
  • superclass
  • switch_label
  • synchronized_statement
  • template_expression
  • ternary_expression
  • this
  • throws
  • try_with_resources_statement
  • type_arguments
  • type_bound
  • type_identifier
  • type_list
  • type_parameter
  • type_parameters
  • type_pattern
  • unary_expression
  • underscore_pattern
  • update_expression
  • uses_module_directive
  • variable_declarator
  • void_type
  • wildcard

Related: Tier 1 language support · Discovering and indexing