mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-16 03:16:54 +01:00
13 lines
293 B
PHP
13 lines
293 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser;
|
|
|
|
interface ErrorHandler
|
|
{
|
|
/**
|
|
* Handle an error generated during lexing, parsing or some other operation.
|
|
*
|
|
* @param Error $error The error that needs to be handled
|
|
*/
|
|
public function handleError(Error $error);
|
|
} |