PHP Class GrumPHP\Parser\ParseError

Show file Open project: phpro/grumphp

Public Methods

Method Description
__construct ( string $type, string $error, string $file, integer $line ) ParseError constructor.
__toString ( ) : string
getError ( ) : string
getFile ( ) : string
getLine ( ) : integer
getType ( ) : string

Method Details

__construct() public method

ParseError constructor.
public __construct ( string $type, string $error, string $file, integer $line )
$type string
$error string
$file string
$line integer

__toString() public method

public __toString ( ) : string
return string

getError() public method

public getError ( ) : string
return string

getFile() public method

public getFile ( ) : string
return string

getLine() public method

public getLine ( ) : integer
return integer

getType() public method

public getType ( ) : string
return string