TermReferenceTree

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

An Ident or a Select.

Attributes

Graph
Supertypes
class TermTree
class TopLevelTree
class Tree
class Object
trait Matchable
class Any
Show all
Known subtypes
class Ident
class Select

Members list

Value members

Abstract methods

protected def calculateType(using Context): TermReferenceType

Compute the actual term type of this tree.

Compute the actual term type of this tree.

Attributes

Concrete methods

final def symbol(using Context): TermSymbol | PackageSymbol

Inherited 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

Inherited from:
TermTree
final def tpe(using Context): TermType

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