A method that should be called from every well-designed equals method that is open to be overridden in a subclass.
The direct child trees of this tree EmptyTrees are always omitted.
Like setType
, but if this is a previously empty TypeTree
that fact is remembered so that resetType will snap back.
The equality method defined in AnyRef
.
Returns a hash code value for the object.
return k for a product A(x_1,.
def
productElement(n: Int): Any
For a product A(x_1,.
def
productElements: Iterator[Any]
def
productIterator: Iterator[Any]
An iterator that returns all fields of this product
def
productPrefix: String
By default the empty string.
def
setPos(pos: Position): Tree
def
setSymbol(sym: Symbol): Tree
def
setType(tp: Type): Tree
Set tpe to give tp
and return this.
def
symbol: Symbol
def
symbol_=(sym: Symbol): Unit
def
toString(): String
Returns a string representation of the object.
def
tpe: Type
def
tpe_=(t: Type): Unit