OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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 immic.parser; | 5 library immic.parser; |
6 | 6 |
7 import 'package:petitparser/petitparser.dart'; | 7 import 'package:petitparser/petitparser.dart'; |
8 import 'grammar.dart'; | 8 import 'grammar.dart'; |
9 import 'primitives.dart' as primitives; | 9 import 'primitives.dart' as primitives; |
10 import 'struct_layout.dart'; | 10 import 'struct_layout.dart'; |
11 import 'package:path/path.dart' as p; | 11 import 'package:path/path.dart' as p; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 .map((each) => new ListType(each[2])); | 226 .map((each) => new ListType(each[2])); |
227 union() => super.union() | 227 union() => super.union() |
228 .map((each) => new Union(each[2])); | 228 .map((each) => new Union(each[2])); |
229 slot() => super.slot() | 229 slot() => super.slot() |
230 .map((each) => each[0]); | 230 .map((each) => each[0]); |
231 formal() => super.formal() | 231 formal() => super.formal() |
232 .map((each) => new Formal(each[0], each[1])); | 232 .map((each) => new Formal(each[0], each[1])); |
233 identifier() => super.identifier() | 233 identifier() => super.identifier() |
234 .flatten().map((each) => each.trim()); | 234 .flatten().map((each) => each.trim()); |
235 } | 235 } |
OLD | NEW |