Eval

sbt.internal.Eval
See theEval companion class
object Eval

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Eval.type

Members list

Type members

Classlikes

class EvalSourceFile(name: String, startLine: Int, contents: String) extends SourceFile

Attributes

Supertypes
class SourceFile
trait SourceFile
trait AbstractFile
class Object
trait Matchable
class Any
Show all
trait EvalType[A]

Attributes

Supertypes
class Object
trait Matchable
class Any
class TypeExtractor extends TreeTraverser

Attributes

Supertypes
class TreeTraverser
class TreeAccumulator[Unit]
class Object
trait Matchable
class Any
class ValExtractor(tpes: Set[String]) extends TreeTraverser

Tree traverser that obtains the names of vals in a top-level module whose type is a subtype of one of types.

Tree traverser that obtains the names of vals in a top-level module whose type is a subtype of one of types.

Attributes

Supertypes
class TreeTraverser
class TreeAccumulator[Unit]
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(): Eval
def apply(mkReporter: () => EvalReporter): Eval
def apply(backingDir: Path, mkReporter: () => EvalReporter): Eval
def apply(nonCpOptions: Seq[String], backingDir: Path, mkReporter: () => EvalReporter): Eval
inline def apply[A](expression: String): A
def bytes(s: String): Array[Byte]
def currentClasspath: Seq[Path]
def evalImpl[A : Type](expression: Expr[String])(implicit evidence$1: Type[A], qctx: Quotes): Expr[A]
def getModule(moduleName: String, loader: ClassLoader): Any

Gets the top-level module moduleName from the provided class loader. The module name should not include the trailing $.

Gets the top-level module moduleName from the provided class loader. The module name should not include the trailing $.

Attributes

def getValue[A](objectName: String, loader: ClassLoader): A

Gets the value of the expression wrapped in module objectName, which is accessible via loader. The module name should not include the trailing $.

Gets the value of the expression wrapped in module objectName, which is accessible via loader. The module name should not include the trailing $.

Attributes

Concrete fields