PHP Class GrumPHP\Parser\ParseError

Afficher le fichier Open project: phpro/grumphp

Méthodes publiques

Méthode 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 méthode

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

__toString() public méthode

public __toString ( ) : string
Résultat string

getError() public méthode

public getError ( ) : string
Résultat string

getFile() public méthode

public getFile ( ) : string
Résultat string

getLine() public méthode

public getLine ( ) : integer
Résultat integer

getType() public méthode

public getType ( ) : string
Résultat string