Class Sass::Stack
In: lib/sass/stack.rb
Parent: Object

A class representing the stack when compiling a Sass file.

Methods

new   to_s   with_base   with_import   with_mixin  

Classes and Modules

Class Sass::Stack::Frame

Attributes

frames  [R]  The stack frames. The last frame is the most deeply-nested.

@return [Array<Frame>]

Public Class methods

Public Instance methods

Pushes a base frame onto the stack.

@param filename [String] See \{Frame#filename}. @param line [String] See \{Frame#line}. @yield [] A block in which the new frame is on the stack.

Pushes an import frame onto the stack.

@param filename [String] See \{Frame#filename}. @param line [String] See \{Frame#line}. @yield [] A block in which the new frame is on the stack.

Pushes a mixin frame onto the stack.

@param filename [String] See \{Frame#filename}. @param line [String] See \{Frame#line}. @param name [String] See \{Frame#name}. @yield [] A block in which the new frame is on the stack.

[Validate]