TermTree

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

Attributes

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

Members list

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