replpp

package replpp

Members list

Packages

package replpp.util

Type members

Classlikes

case class Config(predefFiles: Seq[Path], nocolors: Boolean, verbose: Boolean, dependencies: Seq[String], resolvers: Seq[String], prompt: Option[String], greeting: String, onExitCode: Option[String], maxHeight: Option[Int], scriptFile: Option[Path], command: Option[String], params: Map[String, String], server: Boolean, serverHost: String, serverPort: Int, serverAuthUsername: Option[String], serverAuthPassword: Option[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, maxHeight: Option[Int], classLoader: Option[ClassLoader]) extends ReplDriverBase

Attributes

Supertypes
class ReplDriver
class Driver
class Object
trait Matchable
class Any
Show all
abstract class ReplDriverBase(args: Array[String], out: PrintStream, classLoader: Option[ClassLoader]) extends ReplDriver

Attributes

Supertypes
class ReplDriver
class Driver
class Object
trait Matchable
class Any
Known subtypes
class ReplDriver

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def allPredefCode(config: Config): String
def allPredefLines(config: Config): Seq[String]
def classpath(config: Config, quiet: Boolean): 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 VerboseEnvVar: String
lazy val globalPredefFile: Path
lazy val globalPredefFileMaybe: Option[Path]
lazy val home: Path

The user's home directory

The user's home directory

Attributes

val pathSeparator: String
lazy val pwd: Path

The current working directory for this process.

The current working directory for this process.

Attributes