Languages / PHP · Edit coverage JSON
AST coveragePHP
Support matrix rendered from php-ast-coverage.json. Update that file when bumping the grammar; the site regenerates on the next build.
- Grammar
- tree-sitter-php@0.24.2
- Plugin
- PhpPlugin (rgctl-lang-php)
- Extensions
- .php
- Discover
- rgctl discover . -l php --with-cfg
Handler summary
| Handler | Kinds |
|---|---|
| Symbol | 7 |
| Relation | 5 |
| CfgStatement | 20 |
| AstSkeleton | 2 |
| Literal | 10 |
| Skip | 113 |
Symbol (7)
- class_declaration
- enum_declaration
- function_definition
- interface_declaration
- method_declaration
- property_declaration
- trait_declaration
Relation (5)
- function_call_expression
- member_call_expression
- nullsafe_member_call_expression
- scoped_call_expression
- use_declaration
CfgStatement (20)
- break_statement
- case_statement
- catch_clause
- compound_statement
- continue_statement
- do_statement
- else_clause
- finally_clause
- for_statement
- foreach_statement
- goto_statement
- if_statement
- match_block
- match_expression
- return_statement
- switch_statement
- throw_expression
- try_statement
- while_statement
- yield_expression
AstSkeleton (2)
- assignment_expression
- augmented_assignment_expression
Literal (10)
- comment
- encapsed_string
- escape_sequence
- float
- integer
- list_literal
- nowdoc_string
- null
- string
- string_content
Skip (113)
- abstract_modifier
- anonymous_class
- anonymous_function
- anonymous_function_use_clause
- argument
- arguments
- array_creation_expression
- array_element_initializer
- arrow_function
- attribute
- attribute_group
- attribute_list
- base_clause
- binary_expression
- boolean
- bottom_type
- by_ref
- cast_expression
- cast_type
- class_constant_access_expression
- class_interface_clause
- clone_expression
- colon_block
- conditional_expression
- const_declaration
- const_element
- declaration_list
- declare_directive
- declare_statement
- default_statement
- disjunctive_normal_form_type
- dynamic_variable_name
- echo_statement
- else_if_clause
- empty_statement
- enum_case
- enum_declaration_list
- error_suppression_expression
- exit_statement
- expression_statement
- final_modifier
- formal_parameters
- function_static_declaration
- global_declaration
- heredoc
- heredoc_body
- heredoc_end
- heredoc_start
- include_expression
- include_once_expression
- intersection_type
- match_condition_list
- match_conditional_expression
- match_default_expression
- member_access_expression
- name
- named_label_statement
- named_type
- namespace_definition
- namespace_name
- namespace_use_clause
- namespace_use_declaration
- namespace_use_group
- nowdoc
- nowdoc_body
- nullsafe_member_access_expression
- object_creation_expression
- operation
- optional_type
- pair
- parenthesized_expression
- php_end_tag
- php_tag
- primitive_type
- print_intrinsic
- program
- property_element
- property_hook
- property_hook_list
- property_promotion_parameter
- qualified_name
- readonly_modifier
- reference_assignment_expression
- reference_modifier
- relative_name
- relative_scope
- require_expression
- require_once_expression
- scoped_property_access_expression
- sentinel_error
- sequence_expression
- shell_command_expression
- simple_parameter
- static_modifier
- static_variable_declaration
- subscript_expression
- switch_block
- text
- text_interpolation
- type_list
- unary_op_expression
- union_type
- unset_statement
- update_expression
- use_as_clause
- use_instead_of_clause
- use_list
- var_modifier
- variable_name
- variadic_parameter
- variadic_placeholder
- variadic_unpacking
- visibility_modifier
Related: Tier 1 language support · Discovering and indexing