EmptyTree

case
object EmptyTree extends Tree
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tree
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type MirroredMonoType = Singleton
Inherited from
Singleton
type MirroredType = Singleton
Inherited from
Singleton

Value members

Concrete methods

final override
def withSpan(span: Span): Tree
Definition Classes

Inherited methods

def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
protected
def subtrees: List[Tree]
Inherited from
Tree
final
def tpe(using Context): Type

The term type of this tree.

The term type of this tree.

If this tree is not a term (e.g., it is a definition), its tpe is NoType.

Inherited from
Tree
protected
def typeTrees: List[TypeTree]
Inherited from
Tree
def walkTree(op: Tree => Unit): Unit
Inherited from
Tree
def walkTree[R](op: Tree => R)(reduce: (R, R) => R, default: => R): R
Inherited from
Tree
def walkTypeTrees(op: TypeTree => Unit): Unit
Inherited from
Tree
def walkTypeTrees[R](op: TypeTree => R)(reduce: (R, R) => R, default: => R): R
Inherited from
Tree

Inherited fields

val span: Span
Inherited from
Tree