You are here

protected function SassCompressedRenderer::getIndent in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/renderers/SassCompressedRenderer.php \SassCompressedRenderer::getIndent()

* Returns the indent string for the node *

Parameters

SassNode the node to return the indent string for: * @return string the indent string for this SassNode

3 calls to SassCompressedRenderer::getIndent()
SassCompactRenderer::renderDebug in phamlp/sass/renderers/SassCompactRenderer.php
* Renders debug information. * If the node has the debug_info options set true the line number and filename * are rendered in a format compatible with * {@link https://addons.mozilla.org/en-US/firefox/addon/103988/ FireSass}. * Else if the…
SassExpandedRenderer::renderComment in phamlp/sass/renderers/SassExpandedRenderer.php
* Renders a comment. *
SassExpandedRenderer::renderProperties in phamlp/sass/renderers/SassExpandedRenderer.php
* Renders properties. *
1 method overrides SassCompressedRenderer::getIndent()
SassNestedRenderer::getIndent in phamlp/sass/renderers/SassNestedRenderer.php
* Returns the indent string for the node *

File

phamlp/sass/renderers/SassCompressedRenderer.php, line 41

Class

SassCompressedRenderer
SassCompressedRenderer class. 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…

Code

protected function getIndent($node) {
  return '';
}