| library; |
| import self as self; |
| import "dart:core" as core; |
| |
| class Foo extends core::Object implements core::Enum /*isEnum*/ { |
| final field core::int* index; |
| final field core::String* _name; |
| static const field core::List<self::Foo*>* values = #C7; |
| static const field self::Foo* ec1 = #C3; |
| static const field self::Foo* ec2 = #C6; |
| const constructor •(core::int* index, core::String* _name) → self::Foo* |
| : self::Foo::index = index, self::Foo::_name = _name, super core::Object::•() |
| ; |
| method toString() → core::String* |
| return this.{self::Foo::_name}{core::String*}; |
| abstract member-signature get _identityHashCode() → core::int*; -> core::Object::_identityHashCode |
| abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) → core::bool*; -> core::Object::_instanceOf |
| abstract member-signature method _simpleInstanceOf(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOf |
| abstract member-signature method _simpleInstanceOfTrue(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOfTrue |
| abstract member-signature method _simpleInstanceOfFalse(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOfFalse |
| abstract member-signature operator ==(dynamic other) → core::bool*; -> core::Object::== |
| abstract member-signature get hashCode() → core::int*; -> core::Object::hashCode |
| abstract member-signature method noSuchMethod(core::Invocation* invocation) → dynamic; -> core::Object::noSuchMethod |
| abstract member-signature get runtimeType() → core::Type*; -> core::Object::runtimeType |
| } |
| static method main() → dynamic {} |
| |
| constants { |
| #C1 = 0 |
| #C2 = "Foo.ec1" |
| #C3 = self::Foo {index:#C1, _name:#C2} |
| #C4 = 1 |
| #C5 = "Foo.ec2" |
| #C6 = self::Foo {index:#C4, _name:#C5} |
| #C7 = <self::Foo*>[#C3, #C6] |
| } |
| |
| |
| Constructor coverage from constants: |
| org-dartlang-testcase:///enum.dart: |
| - Foo. (from org-dartlang-testcase:///enum.dart:5:6) |
| - Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart:25:9) |