summaryrefslogtreecommitdiff
path: root/src/repl/scala/tools/nsc/interpreter/session/package.scala
blob: 06e7f6207b58ff7e17c981e59431b64f8913bf54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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]

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