PHP Класс PhpCss\Ast\Visitor\Css

Наследование: extends Overload
Показать файл Открыть проект

Открытые методы

Метод Описание
__toString ( ) Return the collected selector string
clear ( ) Clear the visitor object to visit another selector group
visitEnterSelectorCombinatorChild ( )
visitEnterSelectorCombinatorDescendant ( )
visitEnterSelectorCombinatorFollower ( )
visitEnterSelectorCombinatorNext ( )
visitEnterSelectorGroup ( Group $group ) : boolean Validate the buffer before visiting a Ast\Selector\Group.
visitEnterSelectorSequence ( ) : boolean If here is already data in the buffer, add a separator before starting the next.
visitEnterSelectorSimplePseudoClass ( PseudoClass $class )
visitLeaveSelectorSimplePseudoClass ( )
visitSelectorSimpleAttribute ( PhpCss\Ast\Selector\Simple\Attribute $attribute )
visitSelectorSimpleClassName ( ClassName $class ) : boolean Output the class selector to the buffer
visitSelectorSimpleId ( Id $id ) : boolean Output the class selector to the buffer
visitSelectorSimplePseudoClass ( PseudoClass $class )
visitSelectorSimplePseudoClassLanguage ( Language $language )
visitSelectorSimplePseudoClassPosition ( Position $position )
visitSelectorSimplePseudoElement ( PseudoElement $element )
visitSelectorSimpleType ( Type $type ) : boolean Output the type selector to the buffer
visitSelectorSimpleUniversal ( Universal $universal ) : boolean Output the universal selector to the buffer

Приватные методы

Метод Описание
quoteString ( $string )

Описание методов

__toString() публичный Метод

Return the collected selector string
public __toString ( )

clear() публичный Метод

Clear the visitor object to visit another selector group
public clear ( )

visitEnterSelectorCombinatorChild() публичный Метод

visitEnterSelectorCombinatorDescendant() публичный Метод

visitEnterSelectorCombinatorFollower() публичный Метод

visitEnterSelectorCombinatorNext() публичный Метод

visitEnterSelectorGroup() публичный Метод

If the buffer already contains data, throw an exception.
public visitEnterSelectorGroup ( Group $group ) : boolean
$group PhpCss\Ast\Selector\Group
Результат boolean

visitEnterSelectorSequence() публичный Метод

If here is already data in the buffer, add a separator before starting the next.
public visitEnterSelectorSequence ( ) : boolean
Результат boolean

visitEnterSelectorSimplePseudoClass() публичный Метод

public visitEnterSelectorSimplePseudoClass ( PseudoClass $class )
$class PhpCss\Ast\Selector\Simple\PseudoClass

visitLeaveSelectorSimplePseudoClass() публичный Метод

visitSelectorSimpleAttribute() публичный Метод

public visitSelectorSimpleAttribute ( PhpCss\Ast\Selector\Simple\Attribute $attribute )
$attribute PhpCss\Ast\Selector\Simple\Attribute

visitSelectorSimpleClassName() публичный Метод

Output the class selector to the buffer
public visitSelectorSimpleClassName ( ClassName $class ) : boolean
$class PhpCss\Ast\Selector\Simple\ClassName
Результат boolean

visitSelectorSimpleId() публичный Метод

Output the class selector to the buffer
public visitSelectorSimpleId ( Id $id ) : boolean
$id PhpCss\Ast\Selector\Simple\Id
Результат boolean

visitSelectorSimplePseudoClass() публичный Метод

public visitSelectorSimplePseudoClass ( PseudoClass $class )
$class PhpCss\Ast\Selector\Simple\PseudoClass

visitSelectorSimplePseudoClassLanguage() публичный Метод

public visitSelectorSimplePseudoClassLanguage ( Language $language )
$language PhpCss\Ast\Selector\Simple\PseudoClass\Language

visitSelectorSimplePseudoClassPosition() публичный Метод

public visitSelectorSimplePseudoClassPosition ( Position $position )
$position PhpCss\Ast\Selector\Simple\PseudoClass\Position

visitSelectorSimplePseudoElement() публичный Метод

public visitSelectorSimplePseudoElement ( PseudoElement $element )
$element PhpCss\Ast\Selector\Simple\PseudoElement

visitSelectorSimpleType() публичный Метод

Output the type selector to the buffer
public visitSelectorSimpleType ( Type $type ) : boolean
$type PhpCss\Ast\Selector\Simple\Type
Результат boolean

visitSelectorSimpleUniversal() публичный Метод

Output the universal selector to the buffer
public visitSelectorSimpleUniversal ( Universal $universal ) : boolean
$universal PhpCss\Ast\Selector\Simple\Universal
Результат boolean