PHP Class PhpCss\Exception\Token
A parse error occurs if certain tokens are expected for further parsing, but
none of them are found on the token stream
Afficher le fichier
Open project: ThomasWeinert/PhpCss
Class Usage Examples
Protected Properties
Свойство |
Type |
Description |
|
$_encounteredToken |
PhpCss\Scanner\Token |
This is the token object which was not expected to be found at the given
position. |
|
Méthodes publiques
Méthode |
Description |
|
__construct ( Token $token, $message ) |
|
|
getToken ( ) : Token |
Return the token that triggered the exception |
|
Method Details
__construct()
public méthode
public __construct ( Token $token, $message ) |
$token |
PhpCss\Scanner\Token |
|
getToken()
public méthode
Return the token that triggered the exception
public getToken ( ) : Token |
Résultat |
PhpCss\Scanner\Token |
|
Property Details
$_encounteredToken protected_oe property
This is the token object which was not expected to be found at the given
position.
protected Token,PhpCss\Scanner $_encounteredToken |
Résultat |
PhpCss\Scanner\Token |
|