Annot

dotty.tools.dotc.cc.root.Annot
case class Annot(kind: Kind)(using ictx: Context) extends Annotation

The annotation of a root instance

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Annotation
trait Showable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def derivedAnnotation(tree: Tree)(using Context): Annotation

Attributes

Definition Classes
override def eql(that: Annotation): Boolean

Attributes

Definition Classes
override def hash: Int

Operations for hash-consing, can be overridden

Operations for hash-consing, can be overridden

Attributes

Definition Classes
override def mapWith(tm: TypeMap)(using Context): Annotation

Special treatment of SubstBindingMaps which can change the binder of a Result instances

Special treatment of SubstBindingMaps which can change the binder of a Result instances

Attributes

Definition Classes
override def symbol(using Context): Symbol

Attributes

Definition Classes
override def tree(using Context): Tree

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
Annotation
def argument(i: Int)(using Context): Option[Tree]

Attributes

Inherited from:
Annotation

Attributes

Inherited from:
Annotation

Attributes

Inherited from:
Annotation
def arguments(using Context): List[Tree]

All term arguments of this annotation in a single flat list

All term arguments of this annotation in a single flat list

Attributes

Inherited from:
Annotation

Attributes

Inherited from:
Annotation
def fallbackToText(printer: Printer): Text

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

Attributes

Inherited from:
Showable
def hasOneOfMetaAnnotation(metaSyms: Set[Symbol], orNoneOf: Set[Symbol])(using Context): Boolean

Attributes

Inherited from:
Annotation
def hasSymbol(sym: Symbol)(using Context): Boolean

Attributes

Inherited from:
Annotation

The tree evaluation has finished.

The tree evaluation has finished.

Attributes

Inherited from:
Annotation

The tree evaluation is in progress.

The tree evaluation is in progress.

Attributes

Inherited from:
Annotation
def matches(cls: Symbol)(using Context): Boolean

Attributes

Inherited from:
Annotation

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Does this annotation refer to a parameter of tl?

Does this annotation refer to a parameter of tl?

Attributes

Inherited from:
Annotation

Attributes

Inherited from:
Annotation
def show(using Context): String

The string representation of this showable element.

The string representation of this showable element.

Attributes

Inherited from:
Showable
def showIndented(margin: Int)(using Context): String

The string representation with each line after the first one indented by the given given margin (in spaces).

The string representation with each line after the first one indented by the given given margin (in spaces).

Attributes

Inherited from:
Showable
def showSummary(depth: Int)(using Context): String

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

Attributes

Inherited from:
Showable
def toText(printer: Printer): Text

A string representation of the annotation. Overridden in BodyAnnotation.

A string representation of the annotation. Overridden in BodyAnnotation.

Attributes

Inherited from:
Annotation

Concrete fields

val id: Int

id printed under -uniqid, for debugging

id printed under -uniqid, for debugging

Attributes