PHP Class PhpCss\Scanner\Status\Selector\Attribute

Inheritance: extends PhpCss\Scanner\Status
Afficher le fichier Open project: ThomasWeinert/PhpCss

Protected Properties

Свойство Type Description
$_tokenChars array single char tokens
$_tokenPatterns array patterns for more complex tokens

Méthodes publiques

Méthode Description
getNewStatus ( Token $token ) : Status | null Get new (sub)status if needed.
getToken ( string $buffer, integer $offset ) : Token Try to get token in buffer at offset position.
isEndToken ( Token $token ) : boolean Check if token ends status

Method Details

getNewStatus() public méthode

Get new (sub)status if needed.
public getNewStatus ( Token $token ) : Status | null
$token PhpCss\Scanner\Token
Résultat PhpCss\Scanner\Status | null

getToken() public méthode

Try to get token in buffer at offset position.
public getToken ( string $buffer, integer $offset ) : Token
$buffer string
$offset integer
Résultat PhpCss\Scanner\Token

isEndToken() public méthode

Check if token ends status
public isEndToken ( Token $token ) : boolean
$token PhpCss\Scanner\Token
Résultat boolean

Property Details

$_tokenChars protected_oe property

single char tokens
protected array $_tokenChars
Résultat array

$_tokenPatterns protected_oe property

patterns for more complex tokens
protected array $_tokenPatterns
Résultat array