PHP Class 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.
Inheritance: extends SassCompactRenderer
Afficher le fichier Open project: richthegeek/phpsass Class Usage Examples

Méthodes publiques

Méthode Description
renderComment ( SassNode $node ) : string Renders a comment.
renderProperties ( mixed $node, array $properties ) : string Renders properties.

Méthodes protégées

Méthode Description
between ( ) : string Renders the brace between the selectors and the properties
end ( ) : string Renders the brace at the end of the rule

Method Details

between() protected méthode

Renders the brace between the selectors and the properties
protected between ( ) : string
Résultat string the brace between the selectors and the properties

end() protected méthode

Renders the brace at the end of the rule
protected end ( ) : string
Résultat string the brace between the rule and its properties

renderComment() public méthode

Renders a comment.
public renderComment ( SassNode $node ) : string
$node SassNode the node being rendered
Résultat string the rendered commnt

renderProperties() public méthode

Renders properties.
public renderProperties ( mixed $node, array $properties ) : string
$node mixed
$properties array properties to render
Résultat string the rendered properties