PHP Класс SassExpandedRenderer

Expanded is the typical human-made CSS style, with each property and rule taking up one line. Properties are indented within the rules, but the rules are not indented in any special way.
Наследование: extends SassCompactRenderer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
renderComment ( SassNode $node ) : string Renders a comment.
renderProperties ( mixed $node, array $properties ) : string Renders properties.

Защищенные методы

Метод Описание
between ( ) : string Renders the brace between the selectors and the properties
end ( ) : string Renders the brace at the end of the rule

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

between() защищенный Метод

Renders the brace between the selectors and the properties
protected between ( ) : string
Результат string the brace between the selectors and the properties

end() защищенный Метод

Renders the brace at the end of the rule
protected end ( ) : string
Результат string the brace between the rule and its properties

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

Renders a comment.
public renderComment ( SassNode $node ) : string
$node SassNode the node being rendered
Результат string the rendered commnt

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

Renders properties.
public renderProperties ( mixed $node, array $properties ) : string
$node mixed
$properties array properties to render
Результат string the rendered properties