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

ammonite.repl.api.ReplAPIScalaVersionSpecific.scala Maven / Gradle / Ivy

There is a newer version: 3.0.0-2-6342755f
Show newest version
package ammonite.repl.api

import scala.reflect.runtime.universe._

trait ReplAPIScalaVersionSpecific {

  /**
   * Get the `Type` object of [[T]]. Useful for finding
   * what its methods are and what you can do with it
   */
  def typeOf[T: WeakTypeTag]: Type

  /**
   * Get the `Type` object representing the type of `t`. Useful
   * for finding what its methods are and what you can do with it
   */
  def typeOf[T: WeakTypeTag](t: => T): Type

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy