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
Show file Open project: richthegeek/phpsass Class Usage Examples

Public Methods

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

Protected Methods

Method 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 method

Renders the brace between the selectors and the properties
protected between ( ) : string
return string the brace between the selectors and the properties

end() protected method

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

renderComment() public method

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

renderProperties() public method

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