TypeMember

case
class TypeMember(name: TypeName, rhs: TypeTree | TypeBounds, symbol: TypeMemberSymbol)(span: Span) extends TypeDef

A type member has a type tree rhs if the member is defined by the user, or typebounds if it's synthetic

trait Serializable
trait Product
trait Equals
class TypeDef
trait DefTree
class Tree
class Object
trait Matchable
class Any

Value members

Concrete methods

final override
Definition Classes

Inherited methods

final protected
Inherited from
TypeDef
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