Class: Sass::Script::Node
Overview
The abstract superclass for SassScript parse tree nodes.
Use #perform to evaluate a parse tree.
Direct Known Subclasses
Instance Method Summary collapse
-
#perform(environment) ⇒ Literal
Evaluates the node.
Instance Method Details
#perform(environment) ⇒ Literal
Evaluates the node.
10 11 12 |
# File 'lib/sass/script/node.rb', line 10
def perform(environment)
raise NotImplementedError.new("All subclasses of Sass::Script::Node must override #perform.")
end
|