Class | Sass::BaseEnvironment |
In: |
lib/sass/environment.rb
|
Parent: | Object |
The abstract base class for lexical environments for SassScript.
@param options [{Symbol => Object}] The options hash. See
{file:SASS_REFERENCE.md#sass_options the Sass options documentation}.
@param parent [Environment] See \{parent}
The environment of the caller of this environment‘s mixin or function. @return {Environment?}
The content passed to this environment. This is naturally only set for mixin body environments with content passed in.
@return {[Array<Sass::Tree::Node>, Environment]?} The content nodes and
the lexical environment of the content block.
The selector for the current CSS rule, or nil if there is no current CSS rule.
@return [Selector::CommaSequence?] The current selector, with any
nesting fully resolved.