File tree 1 file changed +0
-91
lines changed
1 file changed +0
-91
lines changed Original file line number Diff line number Diff line change 1
- library keyword.test;
2
-
3
- import 'foo.dart' as test show A hide B;
4
-
5
- export 'other.dart' ;
6
-
7
- part 'other2.dart' ;
8
-
9
- enum Bar { a, b }
10
-
11
- typedef Test = Function ();
12
-
13
- abstract class Foo extends Other3 implements Other2 {
14
- int _bar = 1 ;
15
- int get bar => _bar;
16
- set bar (int value) => _bar = value;
17
-
18
- operator [](int index) => null ;
19
- }
20
-
21
- class Other extends Foo {
22
- static int a = 1 ;
23
- final int b = 2 ;
24
-
25
- void foo (covariant String test) {}
26
- factory Other .something () => Other ();
27
-
28
- Other () : super () {
29
- this .b;
30
- }
31
- }
32
-
33
- class Other2 {}
34
-
35
- class Other3 with Other4 {}
36
-
37
- mixin Other4 {}
38
-
39
- void main () {
40
- assert (1 == 1 );
41
- const foo = 1 ;
42
- final bar = 2 ;
43
- var car = null ;
44
-
45
- new Other ();
46
-
47
- for (var i = 0 ; i < 10 ; i++ ) {
48
- continue ;
49
- }
50
-
51
- for (var i in [1 , 2 , 3 ]) {}
52
-
53
- switch (true ) {
54
- case true :
55
- break ;
56
- default :
57
- break ;
58
- }
59
-
60
- if (1 is int ) {
61
- } else {}
62
-
63
- do {
64
- print ('asdf' );
65
- } while (1 == 2 );
66
-
67
- try {
68
- throw Exception ();
69
- } on Exception {
70
- } catch (e) {
71
- rethrow ;
72
- } finally {}
73
- }
74
-
75
- void foo () async {
76
- await other ('' );
77
- }
78
-
79
- Future <void > other (dynamic test) async {
80
- return ;
81
- }
82
-
83
- extension Something on int {}
84
-
85
- Iterable <int > bar () sync * {
86
- yield 1 ;
87
- }
88
-
89
- Stream <int > bar2 () async * {
90
- yield 1 ;
91
- }
You can’t perform that action at this time.
0 commit comments