Skip to main content

Crate tree_sitter_php_only

Crate tree_sitter_php_only 

Source
Expand description

The php_only tree-sitter grammar for the ported runtime: its tables (decoded from tables.bin) and lexer (lex.rs), converted from the grammar’s src/parser.c.

Upstream: tree-sitter-php 0.25.1 (https://github.com/tree-sitter/tree-sitter-php, tag v0.25.1). Generated: do not edit by hand (the scanner is a copy of php’s scanner.rs).

Constants§

LANGUAGE
The grammar, for tree_sitter::Language::new(LANGUAGE) or LANGUAGE.into(). mesquite_php re-exports it as tree_sitter_php::LANGUAGE_PHP_ONLY, as in tree-sitter-php.

Functions§

language
The grammar’s tables (the C tree_sitter_php_only()), decoded on first use.