All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalafix.internal.util.SymbolTable.scala Maven / Gradle / Ivy

package scalafix.internal.util

import scala.meta.internal.{semanticdb3 => s}

/**
  * A table to lookup information about symbols.
  *
  * This trait is not exposed in the public Scalafix API because s.SymbolInformation
  * is not part of the public API. Expect breaking changes.
  */
trait SymbolTable {

  def info(symbol: String): Option[s.SymbolInformation]
}

object SymbolTable {
  val empty: SymbolTable = new SymbolTable {
    override def info(symbol: String): Option[s.SymbolInformation] = None
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy