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
[E016] Error: cannot declare a constructor on enum `Foo\Bar`
   ,-[code.php:6:22]
   |
 5 | enum Bar {
   *      ^^^  
   *            
 6 |      public function __construct() {
   *                      ^^^^^|^^^^^  
   *                           `------- try removing this constructor
---'