PHP 클래스 SassCompressedRenderer
Compressed style takes up the minimum amount of space possible, having no
whitespace except that necessary to separate selectors and a newline at the
end of the file. It's not meant to be human-readable
파일 보기
프로젝트 열기: richthegeek/phpsass
1 사용 예제들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
between ( ) : string |
Renders the brace between the selectors and the properties |
|
end ( ) : string |
Renders the brace at the end of the rule |
|
getIndent ( SassNode $node ) : string |
Returns the indent string for the node |
|
renderSelectors ( SassNode $node ) : string |
Renders the rule's selectors |
|
메소드 상세
Renders the brace between the selectors and the properties
Renders the brace at the end of the rule
protected end ( ) : string |
리턴 |
string |
the brace between the rule and its properties |
Returns the indent string for the node
protected getIndent ( SassNode $node ) : string |
$node |
SassNode |
the node to return the indent string for |
리턴 |
string |
the indent string for this SassNode |
public renderDirective ( SassNode $node, array $properties ) : string |
$node |
SassNode |
the node being rendered |
$properties |
array |
properties of the directive |
리턴 |
string |
the rendered directive |
renderProperties()
공개 메소드
renderSelectors()
보호된 메소드
Renders the rule's selectors