PHP Class PDepend\Source\Parser\UnexpectedTokenException

Inheritance: extends TokenException
Datei anzeigen Open project: pdepend/pdepend

Public Methods

Method Description
__construct ( PDepend\Source\Tokenizer\Token $token, string $fileName ) Constructs a new unexpected token exception.

Method Details

__construct() public method

Constructs a new unexpected token exception.
public __construct ( PDepend\Source\Tokenizer\Token $token, string $fileName )
$token PDepend\Source\Tokenizer\Token The last parsed token instance.
$fileName string The file where the exception occurred.