class Core (View source)

Defines the core helper infrastructure of the library.

Properties

bool $strict

Whether errors should throw exceptions or just be stored.

Exception[] $errors

List of errors that occurred during lexing.

Methods

void
error(Exception $error)

Creates a new error log.

Details

void error(Exception $error)

Creates a new error log.

Parameters

Exception $error

the error exception

Return Value

void

Exceptions

Exception