Languages / Dart · Edit coverage JSON

Tier 1 · AST coverage

Dart

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

Grammar
tree-sitter-dart@0.2.0
Plugin
DartPlugin (rgctl-lang-dart)
Extensions
.dart
Discover
rgctl discover . -l dart --with-cfg

Handler summary

HandlerKinds
Symbol7
Relation3
CfgStatement9
AstSkeleton0
Literal0
Skip202

Symbol (7)

  • class_declaration
  • enum_declaration
  • extension_declaration
  • function_declaration
  • function_expression
  • method_declaration
  • mixin_declaration

Relation (3)

  • call_expression
  • import_or_export
  • library_import

CfgStatement (9)

  • break_statement
  • continue_statement
  • do_statement
  • for_statement
  • if_statement
  • return_statement
  • switch_statement
  • try_statement
  • while_statement

Skip (202)

  • additive_expression
  • annotation
  • annotation_arguments
  • annotation_open_paren
  • arguments
  • assert_statement
  • assertion
  • assignable_expression
  • assignment_expression
  • await_expression
  • binary_operator
  • bitwise_and_expression
  • bitwise_or_expression
  • bitwise_xor_expression
  • block
  • block_comment
  • cascade_call_expression
  • cascade_index_expression
  • cascade_member_expression
  • cascade_null_assertion_expression
  • cascade_null_aware_index_expression
  • cascade_null_aware_member_expression
  • cascade_section
  • cascade_selector
  • cast_pattern
  • catch_clause
  • class_body
  • class_member
  • combinator
  • comment
  • conditional_expression
  • configurable_uri
  • configuration_uri
  • const_object_expression
  • constant_constructor_signature
  • constant_pattern
  • constructor_invocation
  • constructor_param
  • constructor_signature
  • constructor_tearoff
  • decimal_floating_point_literal
  • decimal_integer_literal
  • declaration
  • documentation_block_comment
  • dotted_identifier_list
  • empty_statement
  • enum_body
  • enum_constant
  • equality_expression
  • escape_sequence
  • expression_statement
  • extension_body
  • extension_type_declaration
  • extension_type_name
  • extension_type_representation
  • external
  • external_function_declaration
  • external_getter_declaration
  • external_setter_declaration
  • external_variable_declaration
  • factory_constructor_signature
  • false
  • field_initializer
  • finally_clause
  • for_element
  • formal_parameter
  • formal_parameter_list
  • function_body
  • function_expression_body
  • function_signature
  • function_type
  • getter_declaration
  • getter_signature
  • hex_integer_literal
  • identifier
  • identifier_dollar_escaped
  • identifier_list
  • if_element
  • if_null_expression
  • import_specification
  • index_expression
  • initialized_identifier
  • initialized_identifier_list
  • initialized_variable_definition
  • initializer_list_entry
  • initializers
  • instantiation_expression
  • interfaces
  • is_operator
  • label
  • labeled_statement
  • library_export
  • library_name
  • list_literal
  • list_pattern
  • local_function_declaration
  • local_variable_declaration
  • logical_and_expression
  • logical_or_expression
  • map_pattern
  • member_expression
  • method_signature
  • mixin_application
  • mixin_application_class
  • mixins
  • multiplicative_expression
  • named_argument
  • named_parameter_types
  • native
  • negate_operator
  • new_expression
  • normal_parameter_type
  • null_assert_pattern
  • null_assertion_expression
  • null_aware_element
  • null_aware_index_expression
  • null_aware_member_expression
  • null_aware_pair
  • null_check_pattern
  • null_literal
  • object_pattern
  • operator_signature
  • optional_formal_parameters
  • optional_parameter_types
  • optional_positional_parameter_types
  • pair
  • parameter_type_list
  • parenthesized_expression
  • part_directive
  • part_of_directive
  • pattern_assignment
  • pattern_variable_declaration
  • postfix_expression
  • prefix_operator
  • qualified
  • raw_string_literal_double_quotes
  • raw_string_literal_double_quotes_multiple
  • raw_string_literal_single_quotes
  • raw_string_literal_single_quotes_multiple
  • record_field
  • record_literal
  • record_pattern
  • record_type
  • record_type_field
  • record_type_named_field
  • redirecting_factory_constructor_signature
  • redirection
  • relational_expression
  • relational_operator
  • rest_pattern
  • rethrow_statement
  • script_tag
  • set_or_map_literal
  • setter_declaration
  • setter_signature
  • shift_expression
  • source_file
  • spread_element
  • static_final_declaration
  • static_final_declaration_list
  • static_member_shorthand
  • string_literal
  • string_literal_double_quotes
  • string_literal_double_quotes_multiple
  • string_literal_single_quotes
  • string_literal_single_quotes_multiple
  • super_formal_parameter
  • superclass
  • switch_block
  • switch_expression
  • switch_expression_case
  • switch_statement_case
  • switch_statement_default
  • symbol_literal
  • template_chars_double
  • template_chars_double_single
  • template_chars_raw_slash
  • template_chars_single
  • template_chars_single_single
  • template_substitution
  • throw_expression
  • top_level_variable_declaration
  • true
  • type
  • type_alias
  • type_arguments
  • type_cast
  • type_cast_expression
  • type_identifier
  • type_parameter
  • type_parameters
  • type_test
  • type_test_expression
  • typed_identifier
  • unary_expression
  • uri
  • uri_test
  • variable_pattern
  • variance_modifier
  • void_type
  • yield_each_statement
  • yield_statement

Related: Tier 1 language support · Discovering and indexing