DefDef

tastyquery.Trees$.DefDef
final case class DefDef(name: TermName, paramLists: List[ParamsClause], resultTpt: TypeTree, rhs: Option[TermTree], symbol: TermSymbol)(pos: SourcePosition) extends ValOrDefDef

mods def nametparams...(vparams_n): tpt = rhs

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class ValOrDefDef
trait DefTree
class TopLevelTree
class Tree
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final override def withPos(pos: SourcePosition): DefDef

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Deprecated and Inherited methods

def walkTree(op: Tree => Unit): Unit

Attributes

Deprecated
[Since version 0.10.0]
Inherited from:
Tree
def walkTree[R](op: Tree => R)(reduce: (R, R) => R, default: => R): R

Attributes

Deprecated
[Since version 0.10.0]
Inherited from:
Tree