Leafo\ScssPhp\Formatter\Crunched
Crunched formatter
- Author: Anthon Pang <anthon.pang@gmail.com>
Synopsis
class Crunched
extends Formatter
{
- // Inherited members from Formatter
- public $indentLevel;
- public $indentChar;
- public $break;
- public $open;
- public $close;
- public $tagSeparator;
- public $assignSeparator;
- public boolea $keepSemicolons;
- // methods
- public void __construct()
- public void blockLines()
- // Inherited methods from Formatter
- public abstract void __construct()
- protected string indentStr()
- public string property()
- public void stripSemicolon()
- protected void blockLines()
- protected void blockSelectors()
- protected void blockChildren()
- protected void block()
- public string format()
Hierarchy
Extends
Members
public
- $assignSeparator — string
- $break — string
- $close — string
- $indentChar — string
- $indentLevel — integer
- $keepSemicolons — Leafo\ScssPhp\boolea
- $open — string
- $tagSeparator — string
Methods
public
- __construct() — {@inheritdoc}
- blockLines() — {@inheritdoc}
Inherited from Leafo\ScssPhp\Formatter
protected
- block() — Output non-empty block
- blockChildren() — Output block children
- blockLines() — Output lines inside a block
- blockSelectors() — Output block selectors
- indentStr() — Return indentation (whitespace)
public
- format() — Entry point to formatting a block
- property() — Return property assignment
- stripSemicolon() — Strip semi-colon appended by property(); it's a separator, not a terminator
History
-
2017-05-18T21:45:34+00:00 (commit #62babba)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Pre 3.0.0
-
2017-05-17T09:50:09+00:00 (commit #bcd6e9c)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
PSR-2
-
2017-05-16T19:52:59+00:00 (commit #fd0a296)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
PSR-2 applied
-
2016-01-25T17:45:50+00:00 (commit #97e2af2)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Pre v.3.0
-
2015-04-02T12:09:45+00:00 (commit #80007ff)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Added advertizing. Added SCSS processor.