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
[E019] Error: case `A\B\C\D\E\Foo::Baz` of unit enum `Foo` cannot have a value
   ,-[code.php:7:15]
   |
 5 | enum Foo {
   *      ^^^  
   *            
   * 
 7 |      case Baz = 2;
   *           ^^^ |  
   *               `-- try replacing this with `;`
   *                  
   *                   
---'