php-parser-rs 0.1.3

A handwritten recursive-descent parser for PHP written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
[E014] Error: missing type for readonly property `Foo::$bar`
   ,-[code.php:1:35]
   |
 1 | <?php class Foo { public readonly $bar; }
   *             ^^^          ^^^^^^^^ ^^|^  
   *                                     `--- try adding a type before `$bar`
   *                                         
   *                                          
   *                                         
   *                                          
---'