ammonite.interp.script

Members list

Type members

Classlikes

class AmmoniteBuildServer(compilerBuilder: CompilerBuilder, parser: Parser, codeWrapper: CodeWrapper, initialScripts: Seq[Path], initialImports: Imports, defaultRepositories: Seq[Repository], importHooks: Map[Seq[String], ImportHook]) extends BuildServer, ScalaBuildServer

Attributes

Companion
object
Supertypes
trait ScalaBuildServer
trait BuildServer
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Diagnostic(severity: String, start: Position, end: Position, message: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Script(code: String, codeSource: CodeSource, blocks: Seq[Block], processorDiagnostics: Seq[Diagnostic])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Script.type
final class ScriptCache(proc: ScriptProcessor, onBuildTargetEvents: Seq[BuildTargetEvent] => Unit)

Attributes

Supertypes
class Object
trait Matchable
class Any
final case class ScriptCompileResult(diagnostics: Seq[Diagnostic], errorOrOutput: Either[String, Seq[Output]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class ScriptCompiler(compilerBuilder: CompilerBuilder, storage: Storage, printer: Printer, codeWrapper: CodeWrapper, initialClassLoader: ClassLoader, initialImports: Imports, classPathWhitelist: Set[Seq[String]], wd: Option[Path], outputDirectory: Option[Path], generateSemanticDbs: Boolean, inMemoryCache: Boolean)

Attributes

Supertypes
class Object
trait Matchable
class Any
final case class ScriptProcessor(scalaVersion: String, parser: Parser, codeWrapper: CodeWrapper, dependencyLoader: DependencyLoader, defaultRepositories: Seq[Repository], extraPluginDependencies: Seq[Dependency], wd: Path, importHooks: Map[Seq[String], ImportHook])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class SingleScriptCompiler(compilerBuilder: CompilerBuilder, initialClassLoader: ClassLoader, storage: Storage, printer: Printer, initialImports: Imports, classPathWhitelist: Set[Seq[String]], codeWrapper: CodeWrapper, wd: Option[Path], generateSemanticDbs: Boolean, settings: Seq[String], module: Script, dependencies: ResolvedDependencies, moduleTarget: Option[Path], moduleSources: Option[Path])

Helper class to compile a single script

Helper class to compile a single script

Only meant to be used to compile a script once. Should be discarded right after having called apply or writeSources.

Attributes

Supertypes
class Object
trait Matchable
class Any