PHP Class PhpCss\Parser\Sequence

It delegates to separate parsers for pseudo classes and attributes. A css combinator delegates to a new instance of this class.
Inheritance: extends PhpCss\Parser
Exibir arquivo Open project: ThomasWeinert/PhpCss

Public Methods

Method Description
parse ( ) Parse the token stream for a simple selector sequence, after the first element the typeselector is not allowed any more, but a combinator is possible.

Private Methods

Method Description
createCombinator ( Token $token, Sequence $sequence )
createPseudoElement ( $token )
createSelector ( Token $token )

Method Details

parse() public method

Parse the token stream for a simple selector sequence, after the first element the typeselector is not allowed any more, but a combinator is possible.
public parse ( )