   compile: (ast, model, controller) ->
     switch ast.type
       when 'element' then Node.element(ast, model, controller)
-      when 'text' then new TextNode(ast, model, controller)
+      when 'text' then new Node.text(ast, model, controller)
       when 'instruction'
         switch ast.command
           when "view" then new Node.view(ast, model, controller)

    context = { render, model, controller }
    element = helperFunction.apply(context, ast.arguments)
    new Node(ast, element, model, controller)

  constructor: (@ast, @element, @model, @controller) ->



  get: -> format(@model, @ast.value, @ast.bound)

class If
  constructor: (@ast, @model, @controller) ->
    @anchor = Serenade.document.createTextNode('')
