Symbol

tastyquery.Symbols$.Symbol
sealed abstract class Symbol(val owner: Symbol | Null)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Types

type ThisNameType <: Name

Value members

Concrete methods

final def annotations: List[Annotation]
final def asClass: ClassSymbol
final def asTerm: TermSymbol
final def asType: TypeSymbol
protected def doCheckCompleted(): Unit

This method is overridden in every subclass to perform their own checks.

This method is overridden in every subclass to perform their own checks.

Every override is expected to call super.doCheckCompleted() first. If a check fail, it should be reported with failNotCompleted.

Attributes

final protected def failNotCompleted(details: String): Nothing
final protected def flags: FlagSet
final def getAnnotation(annotClass: ClassSymbol)(using Context): Option[Annotation]
final def getAnnotations(annotClass: ClassSymbol)(using Context): List[Annotation]
final def hasAnnotation(annotClass: ClassSymbol)(using Context): Boolean
final def isClass: Boolean
final def isPackage: Boolean
final def isTerm: Boolean
final def isType: Boolean
final protected def privateWithin: Option[DeclaringSymbol]
def toDebugString: String
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
final def tree: Option[DefiningTreeType]

Abstract fields

Concrete fields

val owner: Symbol | Null