Class | Sass::Stack::Frame |
In: |
lib/sass/stack.rb
|
Parent: | Object |
A single stack frame.
filename | [R] |
The filename of the file in which this stack frame was created.
@return [String] |
line | [R] |
The line number on which this stack frame was created.
@return [String] |
name | [R] |
The name of the stack frame. For mixin frames, this is the mixin name;
otherwise, it‘s `nil`.
@return [String?] |
type | [R] |
The type of this stack frame. This can be `:import`, `:mixin`, or `:base`.
`:base` indicates that this is the bottom-most frame, meaning that it represents a single line of code rather than a nested context. The stack will only ever have one base frame, and it will always be the most deeply-nested frame. @return [Symbol?] |