Languages / Kotlin · Edit coverage JSON

AST coverage

Kotlin

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

Grammar
tree-sitter-kotlin-ng@1.1.0
Plugin
KotlinPlugin (rgctl-lang-kotlin)
Extensions
.kt, .kts
Discover
rgctl discover . -l kotlin --with-cfg

Handler summary

HandlerKinds
Symbol11
Relation4
CfgStatement13
AstSkeleton3
Literal11
Skip72

Symbol (11)

  • class_declaration
  • companion_object
  • enum_entry
  • function_declaration
  • getter
  • object_declaration
  • primary_constructor
  • property_declaration
  • secondary_constructor
  • setter
  • type_alias

Relation (4)

  • call_expression
  • constructor_invocation
  • delegation_specifier
  • import

CfgStatement (13)

  • block
  • catch_block
  • do_while_statement
  • finally_block
  • for_statement
  • function_body
  • if_expression
  • return_expression
  • throw_expression
  • try_expression
  • when_entry
  • when_expression
  • while_statement

AstSkeleton (3)

  • assignment
  • property_delegate
  • variable_declaration

Literal (11)

  • block_comment
  • character_literal
  • escape_sequence
  • float_literal
  • identifier
  • interpolation
  • line_comment
  • multiline_string_literal
  • number_literal
  • string_content
  • string_literal

Skip (72)

  • annotated_expression
  • annotated_lambda
  • annotation
  • anonymous_function
  • anonymous_initializer
  • as_expression
  • binary_expression
  • callable_reference
  • class_body
  • class_modifier
  • class_parameter
  • class_parameters
  • collection_literal
  • constructor_delegation_call
  • delegation_specifiers
  • enum_class_body
  • explicit_delegation
  • file_annotation
  • function_modifier
  • function_type
  • function_type_parameters
  • function_value_parameters
  • in_expression
  • index_expression
  • infix_expression
  • inheritance_modifier
  • is_expression
  • label
  • labeled_expression
  • lambda_literal
  • lambda_parameters
  • member_modifier
  • modifiers
  • multi_variable_declaration
  • navigation_expression
  • non_nullable_type
  • nullable_type
  • object_literal
  • package_header
  • parameter
  • parameter_modifier
  • parameter_modifiers
  • parenthesized_expression
  • parenthesized_type
  • platform_modifier
  • property_modifier
  • qualified_identifier
  • range_expression
  • range_test
  • reification_modifier
  • shebang
  • source_file
  • spread_expression
  • super_expression
  • this_expression
  • type_arguments
  • type_constraint
  • type_constraints
  • type_modifiers
  • type_parameter
  • type_parameter_modifiers
  • type_parameters
  • type_projection
  • type_test
  • unary_expression
  • use_site_target
  • user_type
  • value_argument
  • value_arguments
  • variance_modifier
  • visibility_modifier
  • when_subject

Related: Tier 1 language support · Discovering and indexing