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
Members
The type constructor at the root of the tree
The type constructor at the root of the tree
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.