def resolveVariable()

in scala-repl/src/main/scala/org/jetbrains/ztools/scala/VariablesView.scala [136:145]


  def resolveVariable(path: String): mutable.Map[String, Any] = {
    val result = mutable.Map[String, Any]()
    val obj = touched.get(path).orNull
    if (obj.ref != null) {
      result += (ResNames.VALUE -> mutable.Map[String, Any](ResNames.REF -> obj.ref))
    } else {
      result += (ResNames.VALUE -> parseInfo(obj, depth))
    }
    result
  }