TermTree

tastyquery.Trees$.TermTree
sealed abstract class TermTree(span: Span) extends StatementTree

Attributes

Graph
Supertypes
class Tree
class Object
trait Matchable
class Any
Known subtypes
class Apply
class Assign
class Block
class Ident
class If
class InlineIf
class Inlined
class Lambda
class Literal
class Match
class NamedArg
class New
class Return
class Select
class Super
class This
class Throw
class Try
class TypeApply
class Typed
class While

Members list

Concise view

Value members

Abstract methods

protected def calculateType(using Context): Type

Compute the actual term of this tree.

Compute the actual term of this tree.

Attributes

def withSpan(span: Span): TermTree

Concrete methods

final def tpe(using Context): Type

The term type of this tree.

The term type of this tree.

Attributes

Inherited methods

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