class Sass::Tree::Node

def <<(child)

Other tags:
    See: #invalid_child? -

Raises:
  • (Sass::SyntaxError) - if `child` is invalid

Parameters:
  • child (Tree::Node) -- The child node
def <<(child)
  return if child.nil?
  check_child! child
  self.has_children = true
  @children << child
end