Class | Sass::Tree::Visitors::ToCss |
In: |
lib/sass/tree/visitors/to_css.rb
|
Parent: | Sass::Tree::Visitors::Base |
source_mapping | [R] | The source mapping for the generated CSS file. This is only set if `build_source_mapping` is passed to the constructor and \{Sass::Engine#render} has been run. |
@param build_source_mapping [Boolean] Whether to build a
\{Sass::Source::Map} while creating the CSS output. The mapping will be available from \{#source\_mapping} after the visitor has completed.
Runs the visitor on `node`.
@param node [Sass::Tree::Node] The root node of the tree to convert to CSS> @return [String] The CSS output.
Associate all output produced in a block with a given node. Used for source mapping.