Lambda

tastyquery.Trees$.Lambda
final case class Lambda(meth: TermTree, tpt: Option[TypeTree])(span: Span) extends TermTree

Attributes

meth

A reference to the method.

tpt

Defined only if the lambda's type is a SAMtype rather than a function type.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class TermTree
class Tree
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

final override def withSpan(span: Span): Lambda

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def tpe(using Context): Type

The term type of this tree.

The term type of this tree.

Attributes

Inherited from:
TermTree
def walkTree(op: Tree => Unit): Unit

Attributes

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

Attributes

Inherited from:
Tree