Util

dotty.tools.dotc.transform.init.Util
opaque object Util

Attributes

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

Members list

Type members

Classlikes

object Arg

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Arg.type
case class ByNameArg(tree: Tree)

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Call.type
object NewExpr

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
NewExpr.type
object PolyFun

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
PolyFun.type
case class TraceValue[T](value: T, trace: Trace)

Utility definition used for better error-reporting of argument errors

Utility definition used for better error-reporting of argument errors

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
TypeCast.type

Types

opaque type Arg

Value members

Concrete methods

def isMutable(cls: ClassSymbol)(using Context): Boolean

Whether the class or its super class/trait contains any mutable fields?

Whether the class or its super class/trait contains any mutable fields?

Attributes

def resolve(cls: ClassSymbol, sym: Symbol)(using Context): Symbol
def typeRefOf(tp: Type)(using Context): TypeRef

Extensions

Extensions

extension (arg: Arg)
def tree: Tree
extension (sym: Symbol)
def hasSource(using Context): Boolean