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

scala.tools.nsc.interpreter.session.package.scala Maven / Gradle / Ivy

/* NSC -- new Scala compiler
 * Copyright 2005-2013 LAMP/EPFL
 * @author Paul Phillips
 */

package scala.tools.nsc
package interpreter
import scala.language.implicitConversions

/** Files having to do with the state of a repl session:
 *  lines of text entered, types and terms defined, etc.
 */
package object session {
  type JIterator[T]       = java.util.Iterator[T]
  type JListIterator[T]   = java.util.ListIterator[T]

  type JEntry             = scala.tools.jline.console.history.History.Entry
  type JHistory           = scala.tools.jline.console.history.History
  type JMemoryHistory     = scala.tools.jline.console.history.MemoryHistory
  type JPersistentHistory = scala.tools.jline.console.history.PersistentHistory

  private[interpreter] implicit def charSequenceFix(x: CharSequence): String = x.toString
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy