Class Sass::BaseEnvironment
In: lib/sass/environment.rb
Parent: Object

The abstract base class for lexical environments for SassScript.

Methods

Attributes

caller  [W] 
content  [W] 
options  [R]  The options passed to the Sass Engine.
selector  [W] 

Public Class methods

Note: when updating this, update sass/yard/inherited_hash.rb as well.

@param options [{Symbol => Object}] The options hash. See

  {file:SASS_REFERENCE.md#sass_options the Sass options documentation}.

@param parent [Environment] See \{parent}

Public Instance methods

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.

Returns whether this is the global environment.

@return [Boolean]

The top-level Environment object.

@return [Environment]

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.

The import/mixin stack.

@return [Sass::Stack]

[Validate]