     )
 
   @find: ({ symbol, references }, targetLocationData) ->
-    # console.log '-------------------------------'
     target = @findSymbol symbol, targetLocationData
     return [] unless target?
     _.uniq @findReferences(references, target)[0]

        o = bare: true
        root.compileRoot o
        root.scope = o.scope
      variables = root.scope.declaredVariables()
      return variables.indexOf(target.value) isnt -1
    catch err
    false

        o =
          scope: parent?.scope
          indent: ''
        code.compileNode o
        code.scope = o.scope
      variables = Ripper.declaredSymbols code.scope
      return variables.indexOf(target.value) isnt -1
    catch err
      console.error err
    false

  @declaredSymbols: (scope) ->
    realVars = []
    tempVars = []
    for { name, type } in scope.variables when (type is 'var' or type is 'param') and _.isString name
      (if name.charAt(0) is '_' then tempVars else realVars).push name
    realVars.sort().concat tempVars.sort()


  ###
