GrumPHP\Parser\ParseError::__construct PHP Method

__construct() public method

ParseError constructor.
public __construct ( string $type, string $error, string $file, integer $line )
$type string
$error string
$file string
$line integer
    public function __construct($type, $error, $file, $line = -1)
    {
        $this->type = $type;
        $this->error = $error;
        $this->file = $file;
        $this->line = $line;
    }