Languages / Swift · Edit coverage JSON
Tier 1 · AST coverageSwift
Support matrix rendered from swift-ast-coverage.json. Update that file when bumping the grammar; the site regenerates on the next build.
- Grammar
- tree-sitter-swift@0.7.4
- Plugin
- SwiftPlugin (rgctl-lang-swift)
- Extensions
- .swift
- Discover
- rgctl discover . -l swift --with-cfg
Handler summary
| Handler | Kinds |
|---|---|
| Symbol | 8 |
| Relation | 2 |
| CfgStatement | 9 |
| AstSkeleton | 0 |
| Literal | 0 |
| Skip | 169 |
Symbol (8)
- class_declaration
- deinit_declaration
- function_declaration
- init_declaration
- property_declaration
- protocol_declaration
- subscript_declaration
- typealias_declaration
Relation (2)
- call_expression
- import_declaration
CfgStatement (9)
- catch_block
- control_transfer_statement
- do_statement
- for_statement
- guard_statement
- if_statement
- repeat_while_statement
- switch_statement
- while_statement
Skip (169)
- _expression
- additive_expression
- array_literal
- array_type
- as_expression
- as_operator
- assignment
- associatedtype_declaration
- attribute
- availability_condition
- await_expression
- bang
- bin_literal
- bitwise_operation
- boolean_literal
- bracket_qualified_type
- call_suffix
- capture_list
- capture_list_item
- catch_keyword
- check_expression
- class_body
- comment
- comparison_expression
- computed_getter
- computed_modify
- computed_property
- computed_setter
- conjunction_expression
- constructor_expression
- constructor_suffix
- consume_expression
- custom_operator
- default_keyword
- deprecated_operator_declaration_body
- diagnostic
- dictionary_literal
- dictionary_type
- didset_clause
- directive
- directly_assignable_expression
- discard_statement
- disjunction_expression
- else
- enum_class_body
- enum_entry
- enum_type_parameters
- equality_constraint
- equality_expression
- existential_type
- external_macro_definition
- fully_open_range
- function_body
- function_modifier
- function_type
- getter_specifier
- hex_literal
- identifier
- infix_expression
- inheritance_constraint
- inheritance_modifier
- inheritance_specifier
- integer_literal
- interpolated_expression
- key_path_expression
- key_path_string_expression
- lambda_function_type
- lambda_function_type_parameters
- lambda_literal
- lambda_parameter
- line_str_text
- line_string_literal
- macro_declaration
- macro_definition
- macro_invocation
- member_modifier
- metatype
- modifiers
- modify_specifier
- multi_line_str_text
- multi_line_string_literal
- multiline_comment
- multiplicative_expression
- mutation_modifier
- navigation_expression
- navigation_suffix
- nil_coalescing_expression
- nil_literal
- oct_literal
- opaque_type
- open_end_range_expression
- open_start_range_expression
- operator_declaration
- optional_type
- ownership_modifier
- parameter
- parameter_modifier
- parameter_modifiers
- pattern
- playground_literal
- postfix_expression
- precedence_group_attribute
- precedence_group_attributes
- precedence_group_declaration
- prefix_expression
- property_behavior_modifier
- property_modifier
- protocol_body
- protocol_composition_type
- protocol_function_declaration
- protocol_property_declaration
- protocol_property_requirements
- range_expression
- raw_str_continuing_indicator
- raw_str_end_part
- raw_str_interpolation
- raw_str_interpolation_start
- raw_str_part
- raw_string_literal
- real_literal
- regex_literal
- selector_expression
- self_expression
- setter_specifier
- shebang_line
- simple_identifier
- source_file
- special_literal
- statement_label
- statements
- str_escaped_char
- super_expression
- suppressed_constraint
- switch_entry
- switch_pattern
- ternary_expression
- throw_keyword
- throws
- throws_clause
- try_expression
- try_operator
- tuple_expression
- tuple_type
- tuple_type_item
- type_annotation
- type_arguments
- type_constraint
- type_constraints
- type_identifier
- type_modifiers
- type_pack_expansion
- type_parameter
- type_parameter_modifiers
- type_parameter_pack
- type_parameters
- unsafe_expression
- user_type
- value_argument
- value_argument_label
- value_arguments
- value_binding_pattern
- value_pack_expansion
- value_parameter_pack
- visibility_modifier
- where_clause
- where_keyword
- wildcard_pattern
- willset_clause
- willset_didset_block
Related: Tier 1 language support · Discovering and indexing