OLD | NEW |
1 library; | 1 library; |
2 import self as self; | 2 import self as self; |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 | 4 |
5 class Foo extends core::Object { | 5 class Foo extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
7 ; | 7 ; |
8 method method(dynamic x, [dynamic y, dynamic z]) → dynamic | 8 method method(dynamic x, [dynamic y, dynamic z]) → dynamic |
9 ; | 9 ; |
10 } | 10 } |
11 abstract class External extends core::Object { | 11 abstract class External extends core::Object { |
12 constructor •() → void | 12 default constructor •() → void |
13 ; | 13 ; |
14 abstract method externalMethod(core::int x, [core::int y, core::int z]) → core
::String; | 14 abstract method externalMethod(core::int x, [core::int y, core::int z]) → core
::String; |
15 abstract method listen(self::Listener listener) → void; | 15 abstract method listen(self::Listener listener) → void; |
16 } | 16 } |
17 abstract class Listener extends core::Object { | 17 abstract class Listener extends core::Object { |
18 constructor •() → void | 18 default constructor •() → void |
19 ; | 19 ; |
20 abstract method event(core::String input, [core::int x, core::int y]) → void; | 20 abstract method event(core::String input, [core::int x, core::int y]) → void; |
21 } | 21 } |
22 class TestListener extends self::Listener { | 22 class TestListener extends self::Listener { |
23 constructor •() → void | 23 default constructor •() → void |
24 ; | 24 ; |
25 method event(dynamic input, [dynamic x, dynamic y]) → void | 25 method event(dynamic input, [dynamic x, dynamic y]) → void |
26 ; | 26 ; |
27 } | 27 } |
28 class ExtendedListener extends self::Listener { | 28 class ExtendedListener extends self::Listener { |
29 constructor •() → void | 29 default constructor •() → void |
30 ; | 30 ; |
31 method event(dynamic input, [dynamic x, dynamic y, dynamic z]) → void | 31 method event(dynamic input, [dynamic x, dynamic y, dynamic z]) → void |
32 ; | 32 ; |
33 } | 33 } |
34 class InvalidListener extends core::Object { | 34 class InvalidListener extends core::Object { |
35 constructor •() → void | 35 default constructor •() → void |
36 ; | 36 ; |
37 method event(dynamic input, [dynamic x]) → void | 37 method event(dynamic input, [dynamic x]) → void |
38 ; | 38 ; |
39 } | 39 } |
40 external static abstract method createExternal() → self::External; | 40 external static abstract method createExternal() → self::External; |
41 static method main() → dynamic | 41 static method main() → dynamic |
42 ; | 42 ; |
OLD | NEW |