| 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 library yaml.parser; | |
| 6 | |
| 7 import 'package:source_span/source_span.dart'; | 5 import 'package:source_span/source_span.dart'; |
| 8 import 'package:string_scanner/string_scanner.dart'; | 6 import 'package:string_scanner/string_scanner.dart'; |
| 9 | 7 |
| 10 import 'event.dart'; | 8 import 'event.dart'; |
| 11 import 'scanner.dart'; | 9 import 'scanner.dart'; |
| 12 import 'style.dart'; | 10 import 'style.dart'; |
| 13 import 'token.dart'; | 11 import 'token.dart'; |
| 14 import 'utils.dart'; | 12 import 'utils.dart'; |
| 15 import 'yaml_document.dart'; | 13 import 'yaml_document.dart'; |
| 16 import 'yaml_exception.dart'; | 14 import 'yaml_exception.dart'; |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 | 805 |
| 808 /// Expect nothing. | 806 /// Expect nothing. |
| 809 static const END = const _State("END"); | 807 static const END = const _State("END"); |
| 810 | 808 |
| 811 final String name; | 809 final String name; |
| 812 | 810 |
| 813 const _State(this.name); | 811 const _State(this.name); |
| 814 | 812 |
| 815 String toString() => name; | 813 String toString() => name; |
| 816 } | 814 } |
| OLD | NEW |