OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 import 'dart:convert'; | 5 import 'dart:convert'; |
6 | 6 |
7 import 'package:analyzer/src/codegen/tools.dart'; | 7 import 'package:analyzer/src/codegen/tools.dart'; |
8 import 'package:front_end/src/codegen/tools.dart'; | |
9 import 'package:html/dom.dart' as dom; | 8 import 'package:html/dom.dart' as dom; |
10 import 'package:path/path.dart' as path; | 9 import 'package:path/path.dart' as path; |
11 | 10 |
12 import 'api.dart'; | 11 import 'api.dart'; |
13 import 'codegen_dart.dart'; | 12 import 'codegen_dart.dart'; |
14 import 'from_html.dart'; | 13 import 'from_html.dart'; |
15 import 'implied_types.dart'; | 14 import 'implied_types.dart'; |
16 import 'to_html.dart'; | 15 import 'to_html.dart'; |
17 | 16 |
18 /** | 17 /** |
(...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1317 | 1316 |
1318 @override | 1317 @override |
1319 String get asClosure => '($type value) => ${callback('value')}'; | 1318 String get asClosure => '($type value) => ${callback('value')}'; |
1320 | 1319 |
1321 @override | 1320 @override |
1322 bool get isIdentity => false; | 1321 bool get isIdentity => false; |
1323 | 1322 |
1324 @override | 1323 @override |
1325 String asSnippet(String value) => callback(value); | 1324 String asSnippet(String value) => callback(value); |
1326 } | 1325 } |
OLD | NEW |