Error
class Error (View source)
Error related utilities.
Methods
static array
get(array $objs)
Gets the errors of a lexer and a parser.
static array
format(array $errors, string $format = '#%1$d: %2$s (near "%4$s" at position %5$d)')
Formats the specified errors.
Details
static array
get(array $objs)
Gets the errors of a lexer and a parser.
static array
format(array $errors, string $format = '#%1$d: %2$s (near "%4$s" at position %5$d)')
Formats the specified errors.