Ctx

mill.define.Ctx
See theCtx companion object
@Scaladoc(value = "/**\n * The contextual information provided to a [[mill.define.Module]] or [[mill.define.Task]]\n */")
trait Ctx extends Nested

The contextual information provided to a mill.define.Module or mill.define.Task

Attributes

Companion
object
Source
Ctx.scala
Graph
Supertypes
trait Nested
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def enclosing: String

Attributes

Source
Ctx.scala
@Scaladoc(value = "/**\n * the file name that this module is defined in. Useful for\n * error reporting purposes\n */")
def fileName: String

the file name that this module is defined in. Useful for error reporting purposes

the file name that this module is defined in. Useful for error reporting purposes

Attributes

Source
Ctx.scala
@Scaladoc(value = "/**\n * the line number that this module is defined at. Useful for\n * error reporting purposes\n */")
def lineNum: Int

the line number that this module is defined at. Useful for error reporting purposes

the line number that this module is defined at. Useful for error reporting purposes

Attributes

Source
Ctx.scala

Inherited and Abstract methods

def crossValues: Seq[Any]

Attributes

Inherited from:
Nested
Source
Ctx.scala