A tree-sitter parser for PHP embedded in HTML. Closely modelled on tree-sitter-embedded-template, this grammar simply parses HTML documents into nodes of php
and content
(ie HTML), and you will still need to use tree-sitter-php to parse the actual PHP code. This is primarily intended for use in Atom's language-php
package. Other projects may find the core tree-sitter-php parser sufficient.
tree-sitter-embedded-php
0.0.4 • Public • PublishedPackage Sidebar
Install
npm i tree-sitter-embedded-php
Weekly Downloads
6
Version
0.0.4
License
MIT
Unpacked Size
31.3 kB
Total Files
12