Languages / C · Edit coverage JSON

AST coverage

C

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

Grammar
tree-sitter-c@0.24.2
Plugin
CPlugin (rgctl-lang-c)
Extensions
.c, .h
Discover
rgctl discover . -l c --with-cfg

Handler summary

HandlerKinds
Symbol5
Relation2
CfgStatement12
AstSkeleton1
Literal13
Skip92

Symbol (5)

  • enum_specifier
  • field_declaration
  • function_definition
  • struct_specifier
  • type_definition

Relation (2)

  • call_expression
  • preproc_include

CfgStatement (12)

  • break_statement
  • case_statement
  • compound_statement
  • continue_statement
  • do_statement
  • else_clause
  • for_statement
  • goto_statement
  • if_statement
  • return_statement
  • switch_statement
  • while_statement

AstSkeleton (1)

  • assignment_expression

Literal (13)

  • char_literal
  • character
  • comment
  • compound_literal_expression
  • concatenated_string
  • escape_sequence
  • false
  • null
  • number_literal
  • string_content
  • string_literal
  • system_lib_string
  • true

Skip (92)

  • abstract_array_declarator
  • abstract_function_declarator
  • abstract_parenthesized_declarator
  • abstract_pointer_declarator
  • alignas_qualifier
  • alignof_expression
  • argument_list
  • array_declarator
  • attribute
  • attribute_declaration
  • attribute_specifier
  • attributed_declarator
  • attributed_statement
  • binary_expression
  • bitfield_clause
  • cast_expression
  • comma_expression
  • conditional_expression
  • declaration
  • declaration_list
  • enumerator
  • enumerator_list
  • expression_statement
  • extension_expression
  • field_declaration_list
  • field_designator
  • field_expression
  • field_identifier
  • function_declarator
  • generic_expression
  • gnu_asm_clobber_list
  • gnu_asm_expression
  • gnu_asm_goto_list
  • gnu_asm_input_operand
  • gnu_asm_input_operand_list
  • gnu_asm_output_operand
  • gnu_asm_output_operand_list
  • gnu_asm_qualifier
  • identifier
  • init_declarator
  • initializer_list
  • initializer_pair
  • labeled_statement
  • linkage_specification
  • macro_type_specifier
  • ms_based_modifier
  • ms_call_modifier
  • ms_declspec_modifier
  • ms_pointer_modifier
  • ms_restrict_modifier
  • ms_signed_ptr_modifier
  • ms_unaligned_ptr_modifier
  • ms_unsigned_ptr_modifier
  • offsetof_expression
  • parameter_declaration
  • parameter_list
  • parenthesized_declarator
  • parenthesized_expression
  • pointer_declarator
  • pointer_expression
  • preproc_arg
  • preproc_call
  • preproc_def
  • preproc_defined
  • preproc_directive
  • preproc_elif
  • preproc_elifdef
  • preproc_else
  • preproc_function_def
  • preproc_if
  • preproc_ifdef
  • preproc_params
  • primitive_type
  • seh_except_clause
  • seh_finally_clause
  • seh_leave_statement
  • seh_try_statement
  • sized_type_specifier
  • sizeof_expression
  • statement_identifier
  • storage_class_specifier
  • subscript_designator
  • subscript_expression
  • subscript_range_designator
  • translation_unit
  • type_descriptor
  • type_identifier
  • type_qualifier
  • unary_expression
  • union_specifier
  • update_expression
  • variadic_parameter

Related: Tier 1 language support · Discovering and indexing