CaptureAnnotation
An annotation representing a capture set and whether it is boxed. It simulates a normal @retains annotation except that it is more efficient, supports variables as capture sets, and adds a boxed
flag. These annotations are created during capture checking. Before that there are only regular @retains and @retainsByName annotations.
Value parameters
- boxed
-
whether the type carrying the annotation is boxed
- cls
-
the underlying class (either annotation.retains or annotation.retainsByName)
- refs
-
the capture set
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Annotationtrait Showableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
A boxed annotation which is either the same annotation or its boxDual
A boxed annotation which is either the same annotation or its boxDual
Attributes
Attributes
- Definition Classes
Attributes
- Definition Classes
Operations for hash-consing, can be overridden
Normally, applies a type map to all tree nodes of this annotation, but can be overridden. Returns EmptyAnnotation if type type map produces a range type, since ranges cannot be types of trees.
Normally, applies a type map to all tree nodes of this annotation, but can be overridden. Returns EmptyAnnotation if type type map produces a range type, since ranges cannot be types of trees.
Attributes
- Definition Classes
Does this annotation refer to a parameter of tl
?
Attributes
- Definition Classes
Attributes
- Definition Classes
A string representation of the annotation. Overridden in BodyAnnotation.
A string representation of the annotation. Overridden in BodyAnnotation.
Attributes
- Definition Classes
Reconstitute annotation tree from capture set
Inherited methods
Attributes
- Inherited from:
- Annotation
Attributes
- Inherited from:
- Annotation
Attributes
- Inherited from:
- Annotation
All arguments to this annotation in a single flat list
Attributes
- Inherited from:
- Annotation
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
Attributes
- Inherited from:
- Annotation
Attributes
- Inherited from:
- Annotation
The tree evaluation has finished.
The tree evaluaton is in progress.
Attributes
- Inherited from:
- Annotation
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
The string representation of this showable element.
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
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
Concrete fields
A cache for the version of this annotation which differs in its boxed status.
A cache for the version of this annotation which differs in its boxed status.