# File lib/extlib/hash.rb, line 300
  def add_node(node)
    @text = true if node.is_a? String
    @children << node
  end