PHP Класс SassNestedRenderer
Nested style is the default Sass style, because it reflects the structure of
the document in much the same way Sass does. Each rule is indented based on
how deeply it's nested. Each property has its own line and is indented
within the rule.
Показать файл
Открыть проект
Открытые методы
Защищенные методы
Описание методов
Renders the brace at the end of the rule
protected end ( ) : string |
Результат |
string |
the brace between the rule and its properties |
getIndent()
защищенный Метод
Returns the indent string for the node
protected getIndent ( SassNode $node ) : string |
$node |
SassNode |
the node being rendered |
Результат |
string |
the indent string for this SassNode |
renderDirective()
публичный Метод
public renderDirective ( SassNode $node, array $properties ) : string |
$node |
SassNode |
the node being rendered |
$properties |
array |
properties of the directive |
Результат |
string |
the rendered directive |
renderSelectors()
защищенный Метод