mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
b0ecbef3cc
Classes can be instantiated directly, abstractly or indirectly: When [cls] is directly instantiated: This means that at runtime instances of exactly [cls] are assumed to exist. When [cls] is abstractly instantiated: This means that at runtime instances of [cls] or unknown subclasses of [cls] are assumed to exist. This is used to mark native and/or reflectable classes as instantiated. For native classes we do not know the exact class that instantiates [cls] so [cls] here represents the root of the subclasses. For reflectable classes we need event abstract classes to be 'live' even though they cannot themselves be instantiated. When [cls] is indirectly instantiated: This means that a subclass of [cls] is directly or abstractly instantiated. R=sigmund@google.com Review URL: https://codereview.chromium.org/2443953002 . |
||
---|---|---|
.. | ||
bin | ||
lib | ||
tool | ||
pubspec.yaml |