| OLD | NEW |
| 1 // Copyright (c) 2017, 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 /** | 5 /** |
| 6 * Code for reading an HTML API description. | 6 * Code for reading an HTML API description. |
| 7 */ | 7 */ |
| 8 import 'dart:io'; | 8 import 'dart:io'; |
| 9 | 9 |
| 10 import 'package:analyzer/src/codegen/html.dart'; | 10 import 'package:analyzer/src/codegen/html.dart'; |
| 11 import 'package:html/dom.dart' as dom; | 11 import 'package:html/dom.dart' as dom; |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 TypeDefinition typeDefinition = typeDefinitionFromHtml(child); | 552 TypeDefinition typeDefinition = typeDefinitionFromHtml(child); |
| 553 types[typeDefinition.name] = typeDefinition; | 553 types[typeDefinition.name] = typeDefinition; |
| 554 } | 554 } |
| 555 }); | 555 }); |
| 556 return new Types(types, html); | 556 return new Types(types, html); |
| 557 } | 557 } |
| 558 | 558 |
| 559 typedef void ElementProcessor(dom.Element element); | 559 typedef void ElementProcessor(dom.Element element); |
| 560 | 560 |
| 561 typedef void TextProcessor(dom.Text text); | 561 typedef void TextProcessor(dom.Text text); |
| OLD | NEW |