Метод | Описание | |
---|---|---|
__toString ( ) | Return the collected selector string | |
clear ( ) | Clear the visitor object to visit another selector group | |
visitEnterSelectorCombinatorChild ( ) | ||
visitEnterSelectorCombinatorDescendant ( ) | ||
visitEnterSelectorCombinatorFollower ( ) | ||
visitEnterSelectorCombinatorNext ( ) | ||
visitEnterSelectorGroup ( |
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 ( |
||
visitLeaveSelectorSimplePseudoClass ( ) | ||
visitSelectorSimpleAttribute ( PhpCss\Ast\Selector\Simple\Attribute $attribute ) | ||
visitSelectorSimpleClassName ( |
Output the class selector to the buffer | |
visitSelectorSimpleId ( |
Output the class selector to the buffer | |
visitSelectorSimplePseudoClass ( |
||
visitSelectorSimplePseudoClassLanguage ( |
||
visitSelectorSimplePseudoClassPosition ( |
||
visitSelectorSimplePseudoElement ( |
||
visitSelectorSimpleType ( |
Output the type selector to the buffer | |
visitSelectorSimpleUniversal ( |
Output the universal selector to the buffer |
Метод | Описание | |
---|---|---|
quoteString ( $string ) |
public visitEnterSelectorCombinatorDescendant ( ) |
public visitEnterSelectorCombinatorFollower ( ) |
public visitEnterSelectorGroup ( |
||
$group | ||
Результат | boolean |
public visitEnterSelectorSequence ( ) : boolean | ||
Результат | boolean |
public visitEnterSelectorSimplePseudoClass ( |
||
$class |
public visitLeaveSelectorSimplePseudoClass ( ) |
public visitSelectorSimpleAttribute ( PhpCss\Ast\Selector\Simple\Attribute $attribute ) | ||
$attribute | PhpCss\Ast\Selector\Simple\Attribute |
public visitSelectorSimpleClassName ( |
||
$class | ||
Результат | boolean |
public visitSelectorSimpleId ( |
||
$id | ||
Результат | boolean |
public visitSelectorSimplePseudoClass ( |
||
$class |
public visitSelectorSimplePseudoClassLanguage ( |
||
$language |
public visitSelectorSimplePseudoClassPosition ( |
||
$position |
public visitSelectorSimplePseudoElement ( |
||
$element |
public visitSelectorSimpleType ( |
||
$type | ||
Результат | boolean |
public visitSelectorSimpleUniversal ( |
||
$universal | ||
Результат | boolean |