             node_name = null
 
             # **task** definitions in Cakefiles
-            if @isCakefile and
+            if @config.isCakefile and
                     node instanceof Nodes.Call and
                     name_from_value(node.variable)?[0] is 'task' and
                     (arg = node.args[0]) instanceof Nodes.Value and

Object.create ?= (proto) ->
    (ctor = ->).prototype = proto
    new ctor

# ## Lexer
class Lexer extends require('./lexer').Lexer

                    type = 'class'
                else
                    type = 'code'
                    if @config.displayCodeParameters
                        params = []
                        for param in node.params
                            params.push ', ' if params.length
