Ivy

ammonite.runtime.ImportHook.Ivy
object Ivy extends BaseIvy

Attributes

Graph
Supertypes
class BaseIvy
trait ImportHook
class Object
trait Matchable
class Any
Self type
Ivy.type

Members list

Value members

Inherited methods

def handle(source: CodeSource, tree: ImportTree, interp: InterpreterInterface, wrapperPath: Seq[Name]): Either[String, Seq[ClassPath]]

Handle a parsed import that this import hook was registered to be interested in

Handle a parsed import that this import hook was registered to be interested in

Note that source is optional; not every piece of code has a source. Most user code does, e.g. a repl session is based in their CWD, a script has a path, but some things like hardcoded builtin predefs don't

Attributes

Inherited from:
BaseIvy
def resolve(interp: InterpreterInterface, signatures: Seq[String]): Either[String, (Seq[Dependency], Seq[File])]

Attributes

Inherited from:
BaseIvy
def splitImportTree(tree: ImportTree): Either[String, Seq[String]]

Attributes

Inherited from:
BaseIvy