An opaque declaration; representation names its reviver.
Attributes#
| Attribute | Type | Description |
|---|---|---|
type_parameters | tuple[Representation, ...] = () | |
representation | RepresentationAnnotation | None = field(default=None, kw_only=True) | |
tag | TypingLiteral['Declaration'] = 'Declaration' |
Functions#
__init__#
__init__(type_parameters=(), *, annotations=None, checks=(), representation=None) -> None| Parameter | Type | Description |
|---|---|---|
type_parameters | tuple[Representation, ...] = () | |
annotations | Annotations | None = None | |
checks | tuple[Check, ...] = () | |
representation | RepresentationAnnotation | None = None |