classWildcard
final class Wildcard
implements Declaration
Public API: explicitly declared with
@visibility public.%wildcard TOKEN.: the terminal that matches any token the parser cannot otherwise use.
$file = (new \LemonParser\Parser())->parse("%wildcard ANY.\n");
$file->declarations()[0]->symbol?->name // => "ANY"Properties§
public Symbol|null $symbolpublic Location $locationMethods§
public function location(): LocationTest cases 6§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.