TypeDef

abstract
class TypeDef(name: TypeName, val symbol: TypeSymbol)(span: Span) extends Tree with DefTree

mods class name template or mods trait name template or mods type name = rhs or mods type name >: lo <: hi, if rhs = TypeBoundsTree(lo, hi) or mods type name >: lo <: hi = rhs if rhs = TypeBoundsTree(lo, hi, alias) and opaque in mods

trait DefTree
class Tree
class Object
trait Matchable
class Any
class ClassDef
class TypeParam

Value members

Concrete methods

final protected

Inherited methods

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
def withSpan(span: Span): Tree
Inherited from
Tree

Concrete fields

override