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
13
14
[E018] Error: case `Foo::Bar` of backed enum `Foo` must have a value
   ,-[code.php:5:13]
   |
 3 | enum Foo: string
   *      ^^^  
   *            
   * 
 5 |     case Bar;
   *          ^^^|  
   *             `-- try adding a value
   *                
   *                 
---'