TermReferenceTree

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

An Ident or a Select.

Attributes

Graph
Supertypes
class TermTree
class TopLevelTree
class Tree
trait Product
trait Equals
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

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

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
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
final def tpe(using Context): TermType

The term type of this tree.

The term type of this tree.

Attributes

Inherited from:
TermTree