 # ----------------------------------------------------------------------------
 
 ###
-# Walker:
+# BuilderBase:
 # Traverses a JavaScript AST.
 #
 #     class MyWalker extends Walker

# Mangles the AST.
###

class OtherTransformer extends TransformerBase
  BlockStatementExit: (node) ->
    @removeEmptyStatementsFromBody node


  {code, ast, map}

js2coffee.transform = (ast, options = {}) ->
  FunctionTransforms.run(ast, options)
  OtherTransforms.run(ast, options)

js2coffee.codegen = (ast, options = {}) ->
  new Builder(ast, options).get()
