TermTree

tastyquery.Trees.TermTree
sealed abstract class TermTree(pos: SourcePosition) extends StatementTree

Attributes

Graph
Supertypes
class TopLevelTree
class Tree
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Apply
class Assign
class Block
class If
class InlineIf
class InlineMatch
class Inlined
class Lambda
class Literal
class Match
class NamedArg
class New
class Return
class SelectOuter
class SeqLiteral
class Super
class Ident
class Select
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): TermType

Compute the actual term type of this tree.

Compute the actual term type of this tree.

Attributes

Concrete methods

Compute the prefix represented by this tree.

Compute the prefix represented by this tree.

The default implementation throws an InvalidProgramStructureException to indicate that this term tree is not a valid type prefix.

Attributes

final def tpe(using Context): TermType

The term type of this tree.

The term type of this tree.

Attributes

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
final def showBasic: String

Attributes

Inherited from:
Tree
final def showMultiline: String

Attributes

Inherited from:
Tree