OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library import_lib; | 5 library import_lib; |
6 | 6 |
7 final foo = 1; | 7 final foo = 1; |
8 var someVar = 3; | 8 var someVar = 3; |
9 var _privateVar; | 9 var _privateVar; |
10 | 10 |
11 int get someGetter => 2; | 11 int get someGetter => 2; |
12 | 12 |
13 void set someSetter(int val) {} | 13 void set someSetter(int val) {} |
14 | 14 |
15 int someFunc() => 0; | 15 int someFunc() => 0; |
16 | 16 |
17 class SomeClass { | 17 class SomeClass {} |
18 } | |
19 | 18 |
20 typedef int Func(Object a); | 19 typedef int Func(Object a); |
OLD | NEW |