Class | Sass::Stack |
In: |
lib/sass/stack.rb
|
Parent: | Object |
A class representing the stack when compiling a Sass file.
frames | [R] |
The stack frames. The last frame is the most deeply-nested.
@return [Array<Frame>] |
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.