Util

mill.internal.Util
object Util

Attributes

Source
Util.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Util.type

Members list

Value members

Concrete methods

def backtickWrap(s: String): String

Attributes

Source
Util.scala
def formatError(f: Failure, highlight: String => String): String

Attributes

Source
Util.scala
def formatError0(path: Path, index: Int, message: String, exception: Seq[ExceptionInfo], tickerPrefix: String, highlight: String => String): String

Format an error message in dotty style with file location, code snippet, and pointer.

Format an error message in dotty style with file location, code snippet, and pointer.

Value parameters

fileName

The file name or path to display

index

The character index where the error occurred

message

The error message to display

text

The full text content of the file

Attributes

Returns

A formatted error string with location, code snippet, pointer, and message

Source
Util.scala
def formatException(exception: Seq[ExceptionInfo], highlight: String => String): String

Attributes

Source
Util.scala

Attributes

Source
Util.scala
def getLineNumber(text: String, index: Int): String

Attributes

Source
Util.scala
def parseHeaderData(scriptFile: Path): Result[HeaderData]

Attributes

Source
Util.scala
def parseYaml0[T](fileName: String, headerData: String, visitor0: Visitor[_, T]): Result[T]

Attributes

Source
Util.scala
def splitPreserveEOL(bytes: Array[Byte]): Seq[Array[Byte]]

Attributes

Source
Util.scala

Concrete fields

val alphaKeywords: Set[String]

Attributes

Source
Util.scala