     true
 
   toString: (idt) ->
-    idt: (idt || '') + TAB
+    idt ||= ''
     children: _.flatten [@params, @body.expressions]
-    @type + '\n' + _.map(children, (child) -> idt + child.toString(idt)).join('')
+    '\n' + idt + @type + _.map(children, (child) -> child.toString(idt + TAB)).join('')
 
 }
 


# toString representation of the node, for inspecting the parse tree.
Node::toString: (idt) ->
  idt: (idt || '') + TAB
  @type + '\n' + _.map(@children, (child) -> idt + child.toString(idt)).join('')

# Default implementations of the common node methods.
Node::unwrap:             -> this

    idt + @value + end

  toString: (idt) ->
    ' "' + @value + '"'

}

