class Sass::Tree::VariableNode
A dynamic node representing a variable definition.
@see Sass::Tree
Attributes
The parse tree for the variable value. @return [Script::Tree::Node]
Whether this is a global variable assignment (‘!global`). @return [Boolean]
Whether this is a guarded variable assignment (‘!default`). @return [Boolean]
The name of the variable. @return [String]
Public Class Methods
Source
# File lib/sass/tree/variable_node.rb, line 27 def initialize(name, expr, guarded, global) @name = name @expr = expr @guarded = guarded @global = global super() end
@param name [String] The name of the variable @param expr [Script::Tree::Node] See {#expr} @param guarded [Boolean] See {#guarded} @param global [Boolean] See {#global}
Calls superclass method
Sass::Tree::Node::new