Languages / Scala · Edit coverage JSON

Tier 1 · AST coverage

Scala

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

Grammar
tree-sitter-scala@0.26.3
Plugin
ScalaPlugin (rgctl-lang-scala)
Extensions
.scala, .sc
Discover
rgctl discover . -l scala --with-cfg

Handler summary

HandlerKinds
Symbol8
Relation3
CfgStatement8
AstSkeleton0
Literal0
Skip152

Symbol (8)

  • class_definition
  • enum_definition
  • function_definition
  • object_definition
  • trait_definition
  • type_definition
  • val_definition
  • var_definition

Relation (3)

  • call_expression
  • extends_clause
  • import_declaration

CfgStatement (8)

  • do_while_expression
  • for_expression
  • if_expression
  • match_expression
  • return_expression
  • throw_expression
  • try_expression
  • while_expression

Skip (152)

  • access_modifier
  • access_qualifier
  • alternative_pattern
  • annotated_type
  • annotation
  • applied_constructor_type
  • arguments
  • arrow_renamed_identifier
  • as_renamed_identifier
  • ascription_expression
  • assignment_expression
  • binding
  • bindings
  • block
  • block_comment
  • boolean_literal
  • capture_pattern
  • capture_ref
  • capture_set
  • capture_variable
  • capturing_type
  • case_block
  • case_class_pattern
  • case_clause
  • catch_clause
  • character_literal
  • class_parameter
  • class_parameters
  • colon_argument
  • comment
  • compilation_unit
  • compound_type
  • consume_modifier
  • context_bound
  • contravariant_type_parameter
  • covariant_type_parameter
  • derives_clause
  • early_defs
  • end_marker
  • enum_body
  • enum_case_definitions
  • enumerator
  • enumerators
  • erased_modifier
  • error_sentinel
  • escape_sequence
  • existential_type
  • export_declaration
  • extension_definition
  • field_expression
  • finally_clause
  • floating_point_literal
  • full_enum_case
  • function_declaration
  • function_type
  • generic_function
  • generic_type
  • given_conditional
  • given_definition
  • given_pattern
  • guard
  • identifier
  • identifiers
  • indented_block
  • indented_cases
  • infix_expression
  • infix_modifier
  • infix_pattern
  • infix_type
  • inline_modifier
  • instance_expression
  • integer_literal
  • interpolated_string
  • interpolated_string_expression
  • interpolation
  • into_modifier
  • lambda_expression
  • lazy_parameter_type
  • literal_type
  • lower_bound
  • macro_body
  • match_type
  • method_value
  • modifiers
  • name_and_type
  • named_pattern
  • named_tuple_pattern
  • named_tuple_type
  • named_type_argument
  • namespace_selectors
  • namespace_wildcard
  • null_literal
  • opaque_modifier
  • open_modifier
  • operator_identifier
  • package_clause
  • package_identifier
  • package_object
  • parameter
  • parameter_types
  • parameters
  • parenthesized_expression
  • postfix_expression
  • prefix_expression
  • projected_type
  • quote_expression
  • refinement
  • repeat_pattern
  • repeated_parameter_type
  • self_type
  • simple_enum_case
  • singleton_type
  • splice_expression
  • stable_identifier
  • stable_type_identifier
  • string
  • structural_type
  • template_body
  • tracked_modifier
  • transparent_modifier
  • tuple_expression
  • tuple_pattern
  • tuple_type
  • type_arguments
  • type_case_clause
  • type_identifier
  • type_lambda
  • type_parameters
  • typed_pattern
  • unit
  • update_modifier
  • upper_bound
  • uses_clause
  • using_directive
  • using_directive_key
  • using_directive_value
  • val_declaration
  • var_declaration
  • vararg
  • view_bound
  • wildcard
  • with_template_body
  • xml_attribute
  • xml_cdata
  • xml_comment
  • xml_element
  • xml_expression
  • xml_name
  • xml_pattern
  • xml_processing_instruction
  • xml_string
  • xml_text

Related: Tier 1 language support · Discovering and indexing