abstract class MemberDef [ -T ]
extends NameTree with DefTree

Tree defines a new symbol and carries modifiers. The position of a MemberDef contains only the defined identifier or pattern. The envelope of a MemberDef contains the whole definition and has its point on the opening keyword (or the next token after that if keyword is missing).

Constructors

MemberDef ( )
MemberDef ( mdef: MemberDef )
MemberDef ( implicit ctx: Context )

Members

type ThisTree = Nothing <: MemberDef [ -T ]

The type constructor at the root of the tree

The type constructor at the root of the tree

private var myMods : Modifiers
def clone ( ) : Object
def eq ( x$0: Object ) : Boolean
def finalize ( ) : Unit
def mods : Modifiers
[+] def namePos : Position

The position of the name defined by this definition. This is a point position if the definition is synthetic, or a range position if the definition come...

The position of the name defined by this definition. This is a point position if the definition is synthetic, or a range position if the definition comes from source. It might also be that the definition does not have a position (for instance when synthesized by a calling chain from viewExists), in that case the return position is NoPosition.

def ne ( x$0: Object ) : Boolean
def notify ( ) : Unit
def notifyAll ( ) : Unit
def rawComment : Option [ Comment ]
def rawMods : Modifiers
def setComment ( comment: Option [ Comment ] ) : ThisTree [ Untyped ]
protected def setMods ( mods: Modifiers ) : Unit
def synchronized ( x$0: X0 ) : X0
def wait ( ) : Unit
def wait ( x$0: Long ) : Unit
def wait ( x$0: Long , x$1: Int ) : Unit
def withFlags ( flags: FlagSet ) : ThisTree [ Untyped ]
def withMods ( mods: Modifiers ) : ThisTree [ Untyped ]