Class: Less::Node::Variable
- Inherits:
-
Object
- Object
- Less::Node::Variable
- Defined in:
- lib/sass/less.rb
Instance Method Summary collapse
Instance Method Details
#to_sass_tree
314 315 316 317 318 319 320 321 322 323 |
# File 'lib/sass/less.rb', line 314
def to_sass_tree
if @declaration
return if hide_in_sass
node = Sass::Tree::VariableNode.new(self, @value.to_sass_tree, false)
node.line = self.src_line
node
else
Sass::Script::Variable.new(self)
end
end
|