replpp

package replpp

Members list

Packages

Type members

Classlikes

case class Config(predefCode: Option[String], predefFiles: Seq[Path], predefFilesBeforePredefCode: Boolean, nocolors: Boolean, verbose: Boolean, dependencies: Seq[String], prompt: Option[String], greeting: String, onExitCode: Option[String], scriptFile: Option[Path], command: Option[String], params: Map[String, String], server: Boolean, serverHost: String, serverPort: Int, serverAuthUsername: String, serverAuthPassword: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Config

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Config.type
object Dependencies

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object PPrinter

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
PPrinter.type
class ReplDriver(args: Array[String], out: PrintStream, onExitCode: Option[String], greeting: Option[String], prompt: String, maxPrintElements: Int, classLoader: Option[ClassLoader]) extends ReplDriver

Attributes

Supertypes
class ReplDriver
class Driver
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def allPredefCode(config: Config): String
def classpath(config: Config): String
def compilerArgs(config: Config): Array[String]
def resolveFile(base: Path, pathStr: String): Path

resolve absolute or relative paths to an absolute path

resolve absolute or relative paths to an absolute path

  • if given pathStr is an absolute path, just take that
  • if it's a relative path, use given base path to resolve it to an absolute path

Attributes

def verboseEnabled(config: Config): Boolean

verbose mode can either be enabled via the config, or the environment variable SCALA_REPL_PP_VERBOSE=true

verbose mode can either be enabled via the config, or the environment variable SCALA_REPL_PP_VERBOSE=true

Attributes

Concrete fields

val PredefCodeEnvVar: String
val VerboseEnvVar: String
lazy val globalPredefFile: ThisType
val pathSeparator: String