crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
787a1116
ROOT
/
pkg
/
parser
/
sitter
/
php2
/
parser.c
Search
History
132921 lines
|
ISO-8859-1
|
4 MB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
LANGUAGE_VERSION
STATE_COUNT
LARGE_STATE_COUNT
SYMBOL_COUNT
ALIAS_COUNT
TOKEN_COUNT
EXTERNAL_TOKEN_COUNT
FIELD_COUNT
MAX_ALIAS_SEQUENCE_LENGTH
PRODUCTION_ID_COUNT
extern
(anonymous)
sym_name
sym_php_tag
anon_sym_QMARK_GT
aux_sym_text_token1
aux_sym_text_token2
anon_sym_SEMI
anon_sym_AMP
aux_sym_function_static_declaration_token1
anon_sym_COMMA
anon_sym_EQ
aux_sym_global_declaration_token1
aux_sym_namespace_definition_token1
aux_sym_namespace_use_declaration_token1
aux_sym_namespace_use_declaration_token2
aux_sym_namespace_use_declaration_token3
anon_sym_BSLASH
aux_sym_namespace_aliasing_clause_token1
anon_sym_LBRACE
anon_sym_RBRACE
aux_sym_trait_declaration_token1
aux_sym_interface_declaration_token1
aux_sym_base_clause_token1
aux_sym_enum_declaration_token1
anon_sym_COLON
aux_sym_enum_case_token1
aux_sym_class_declaration_token1
aux_sym_final_modifier_token1
aux_sym_abstract_modifier_token1
aux_sym_class_interface_clause_token1
sym_var_modifier
aux_sym_use_instead_of_clause_token1
aux_sym_visibility_modifier_token1
aux_sym_visibility_modifier_token2
aux_sym_visibility_modifier_token3
aux_sym_arrow_function_token1
anon_sym_EQ_GT
anon_sym_LPAREN
anon_sym_RPAREN
anon_sym_DOT_DOT_DOT
anon_sym_QMARK
anon_sym_PIPE
anon_sym_array
aux_sym_primitive_type_token1
anon_sym_iterable
anon_sym_bool
anon_sym_float
anon_sym_int
anon_sym_string
anon_sym_void
anon_sym_mixed
anon_sym_static
anon_sym_false
anon_sym_null
aux_sym_cast_type_token1
aux_sym_cast_type_token2
aux_sym_cast_type_token3
aux_sym_cast_type_token4
aux_sym_cast_type_token5
aux_sym_cast_type_token6
aux_sym_cast_type_token7
aux_sym_cast_type_token8
aux_sym_cast_type_token9
aux_sym_cast_type_token10
aux_sym_cast_type_token11
aux_sym_cast_type_token12
aux_sym_echo_statement_token1
anon_sym_unset
aux_sym_declare_statement_token1
aux_sym_declare_statement_token2
anon_sym_ticks
anon_sym_encoding
anon_sym_strict_types
sym_float
aux_sym_try_statement_token1
aux_sym_catch_clause_token1
aux_sym_finally_clause_token1
aux_sym_goto_statement_token1
aux_sym_continue_statement_token1
aux_sym_break_statement_token1
sym_integer
aux_sym_return_statement_token1
aux_sym_throw_expression_token1
aux_sym_while_statement_token1
aux_sym_while_statement_token2
aux_sym_do_statement_token1
aux_sym_for_statement_token1
aux_sym_for_statement_token2
aux_sym_foreach_statement_token1
aux_sym_foreach_statement_token2
aux_sym_if_statement_token1
aux_sym_if_statement_token2
aux_sym_else_if_clause_token1
aux_sym_else_clause_token1
aux_sym_match_expression_token1
aux_sym_match_default_expression_token1
aux_sym_switch_statement_token1
aux_sym_switch_block_token1
anon_sym_AT
anon_sym_PLUS
anon_sym_DASH
anon_sym_TILDE
anon_sym_BANG
anon_sym_STAR_STAR
aux_sym_clone_expression_token1
anon_sym_COLON_COLON
aux_sym_print_intrinsic_token1
aux_sym_object_creation_expression_token1
anon_sym_PLUS_PLUS
anon_sym_DASH_DASH
sym_shell_command_expression
anon_sym_STAR_STAR_EQ
anon_sym_STAR_EQ
anon_sym_SLASH_EQ
anon_sym_PERCENT_EQ
anon_sym_PLUS_EQ
anon_sym_DASH_EQ
anon_sym_DOT_EQ
anon_sym_LT_LT_EQ
anon_sym_GT_GT_EQ
anon_sym_AMP_EQ
anon_sym_CARET_EQ
anon_sym_PIPE_EQ
anon_sym_QMARK_QMARK_EQ
anon_sym_DASH_GT
anon_sym_QMARK_DASH_GT
aux_sym__list_destructing_token1
anon_sym_LBRACK
anon_sym_RBRACK
anon_sym_self
anon_sym_parent
anon_sym_POUND_LBRACK
sym_escape_sequence
aux_sym_encapsed_string_token1
anon_sym_DQUOTE
anon_sym_BSLASHu
anon_sym_SQUOTE
aux_sym_string_token1
aux_sym_string_token2
sym_boolean
sym_null
anon_sym_DOLLAR
aux_sym_yield_expression_token1
aux_sym_yield_expression_token2
aux_sym_binary_expression_token1
anon_sym_QMARK_QMARK
aux_sym_binary_expression_token2
aux_sym_binary_expression_token3
aux_sym_binary_expression_token4
anon_sym_PIPE_PIPE
anon_sym_AMP_AMP
anon_sym_CARET
anon_sym_EQ_EQ
anon_sym_BANG_EQ
anon_sym_LT_GT
anon_sym_EQ_EQ_EQ
anon_sym_BANG_EQ_EQ
anon_sym_LT
anon_sym_GT
anon_sym_LT_EQ
anon_sym_GT_EQ
anon_sym_LT_EQ_GT
anon_sym_LT_LT
anon_sym_GT_GT
anon_sym_DOT
anon_sym_STAR
anon_sym_SLASH
anon_sym_PERCENT
aux_sym_include_expression_token1
aux_sym_include_once_expression_token1
aux_sym_require_expression_token1
aux_sym_require_once_expression_token1
sym_comment
sym__automatic_semicolon
sym_heredoc
sym_encapsed_string_chars
sym_encapsed_string_chars_after_variable
sym__eof
sym_sentinel_error
sym_program
sym_text_interpolation
sym_text
sym_empty_statement
sym_reference_modifier
sym_function_static_declaration
sym_static_variable_declaration
sym_global_declaration
sym_namespace_definition
sym_namespace_use_declaration
sym_namespace_use_clause
sym_qualified_name
sym_namespace_name_as_prefix
sym_namespace_name
sym_namespace_aliasing_clause
sym_namespace_use_group
sym_namespace_use_group_clause
sym_trait_declaration
sym_interface_declaration
sym_base_clause
sym_enum_declaration
sym_enum_declaration_list
sym__enum_member_declaration
sym_enum_case
sym_class_declaration
sym_declaration_list
sym_final_modifier
sym_abstract_modifier
sym_class_interface_clause
sym__member_declaration
sym_const_declaration
sym__class_const_declaration
sym__const_declaration
sym_property_declaration
sym__modifier
sym_property_element
sym_property_initializer
sym_method_declaration
sym_static_modifier
sym_use_declaration
sym_use_list
sym_use_instead_of_clause
sym_use_as_clause
sym_visibility_modifier
sym_function_definition
sym__function_definition_header
sym_arrow_function
sym_formal_parameters
sym_property_promotion_parameter
sym_simple_parameter
sym_variadic_parameter
sym__type
sym__types
sym_named_type
sym_optional_type
sym_union_type
sym_primitive_type
sym_cast_type
sym__return_type
sym_const_element
sym_echo_statement
sym_unset_statement
sym_declare_statement
sym_declare_directive
sym_try_statement
sym_catch_clause
sym_type_list
sym_finally_clause
sym_goto_statement
sym_continue_statement
sym_break_statement
sym_return_statement
sym_throw_expression
sym_while_statement
sym_do_statement
sym_for_statement
sym__expressions
sym_sequence_expression
sym_foreach_statement
sym_foreach_pair
sym_if_statement
sym_colon_block
sym_else_if_clause
sym_else_clause
sym_else_if_clause_2
sym_else_clause_2
sym_match_expression
sym_match_block
sym_match_condition_list
sym_match_conditional_expression
sym_match_default_expression
sym_switch_statement
sym_switch_block
sym_case_statement
sym_default_statement
sym_compound_statement
sym_named_label_statement
sym_expression_statement
sym__expression
sym__unary_expression
sym_unary_op_expression
sym_exponentiation_expression
sym_clone_expression
sym__primary_expression
sym_parenthesized_expression
sym_class_constant_access_expression
sym_print_intrinsic
sym_anonymous_function_creation_expression
sym_anonymous_function_use_clause
sym_object_creation_expression
sym_update_expression
sym_cast_expression
sym_cast_variable
sym_assignment_expression
sym_reference_assignment_expression
sym_conditional_expression
sym_augmented_assignment_expression
sym_member_access_expression
sym_nullsafe_member_access_expression
sym_scoped_property_access_expression
sym_list_literal
sym__list_destructing
sym__array_destructing
sym__array_destructing_element
sym_function_call_expression
sym_scoped_call_expression
sym__scope_resolution_qualifier
sym_relative_scope
sym_arguments
sym_argument
sym_member_call_expression
sym_nullsafe_member_call_expression
sym_variadic_unpacking
sym_subscript_expression
sym__dereferencable_expression
sym_array_creation_expression
sym_attribute_list
sym_attribute
sym__complex_string_part
sym__simple_string_member_access_expression
sym__simple_string_subscript_unary_expression
sym__simple_string_array_access_argument
sym__simple_string_subscript_expression
sym__simple_string_part
sym_encapsed_string
sym_string
sym__string
sym_dynamic_variable_name
sym_variable_name
sym_variable_reference
sym_by_ref
sym_yield_expression
sym_array_element_initializer
sym_binary_expression
sym_include_expression
sym_include_once_expression
sym_require_expression
sym_require_once_expression
sym__reserved_identifier
aux_sym_program_repeat1
aux_sym_text_repeat1
aux_sym_function_static_declaration_repeat1
aux_sym_global_declaration_repeat1
aux_sym_namespace_use_declaration_repeat1
aux_sym_namespace_name_repeat1
aux_sym_namespace_use_group_repeat1
aux_sym_base_clause_repeat1
aux_sym_enum_declaration_list_repeat1
aux_sym_declaration_list_repeat1
aux_sym__const_declaration_repeat1
aux_sym_property_declaration_repeat1
aux_sym_property_declaration_repeat2
aux_sym_use_list_repeat1
aux_sym_formal_parameters_repeat1
aux_sym_union_type_repeat1
aux_sym_unset_statement_repeat1
aux_sym_try_statement_repeat1
aux_sym_type_list_repeat1
aux_sym_if_statement_repeat1
aux_sym_if_statement_repeat2
aux_sym_match_block_repeat1
aux_sym_match_condition_list_repeat1
aux_sym_switch_block_repeat1
aux_sym_anonymous_function_use_clause_repeat1
aux_sym__list_destructing_repeat1
aux_sym__array_destructing_repeat1
aux_sym_arguments_repeat1
aux_sym_array_creation_expression_repeat1
aux_sym_attribute_list_repeat1
aux_sym_attribute_list_repeat2
aux_sym_encapsed_string_repeat1
(anonymous)
field_alternative
field_arguments
field_attributes
field_body
field_condition
field_conditional_expressions
field_default_value
field_function
field_left
field_modifier
field_name
field_object
field_operator
field_parameters
field_reference_modifier
field_return_expression
field_return_type
field_right
field_scope
field_type
field_value
field_visibility
ts_non_terminal_alias_map
:
const uint16_t[]
ts_lex
(
TSLexer*,TSStateId
)
{...}
:
bool
ts_lex_keywords
(
TSLexer*,TSStateId
)
{...}
:
bool
(anonymous)
ts_external_token__automatic_semicolon
ts_external_token_heredoc
ts_external_token_encapsed_string_chars
ts_external_token_encapsed_string_chars_after_variable
ts_external_token__eof
ts_external_token_sentinel_error
tree_sitter_php2_external_scanner_create
(
void
)
:
void*
tree_sitter_php2_external_scanner_destroy
(
void*
)
:
void
tree_sitter_php2_external_scanner_scan
(
void*,TSLexer*,const bool*
)
:
bool
tree_sitter_php2_external_scanner_serialize
(
void*,char*
)
:
unsigned
tree_sitter_php2_external_scanner_deserialize
(
void*,const char*,unsigned
)
:
void
tree_sitter_php2
(
void
)
{...}
:
const TSLanguage*
All occurrences
Please wait...
Page is in error, reload to recover