             name
           else
             escapedName = validIdentifier name
-            if not node.label
+            if isReference node
               defLocation = lookupIdentifier name, node
               if not defLocation
                 if nonstrict

    for pattern in patterns by 2
      labelNames pattern
    node

fnDefinition = (node) ->
  words = inside node

        if parent
          addDependency child.set, name for name in parent.names unless child is parent
          addDependency deps, parent
        else if isReference(node) and !lookupIdentifier token, node
          addDependency child.missing, node.token
  [graph, lookupByName]

