OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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"); | 5 #library("yaml"); |
6 | 6 |
| 7 #import('dart:math', prefix: 'Math'); |
| 8 |
7 #import("deep_equals.dart"); | 9 #import("deep_equals.dart"); |
8 | 10 |
9 #source("yaml_map.dart"); | 11 #source("yaml_map.dart"); |
10 #source("model.dart"); | 12 #source("model.dart"); |
11 #source("parser.dart"); | 13 #source("parser.dart"); |
12 #source("visitor.dart"); | 14 #source("visitor.dart"); |
13 #source("composer.dart"); | 15 #source("composer.dart"); |
14 #source("constructor.dart"); | 16 #source("constructor.dart"); |
15 | 17 |
16 /** | 18 /** |
(...skipping 29 matching lines...) Expand all Loading... |
46 } | 48 } |
47 | 49 |
48 /** An error thrown by the YAML processor. */ | 50 /** An error thrown by the YAML processor. */ |
49 class YamlException implements Exception { | 51 class YamlException implements Exception { |
50 String msg; | 52 String msg; |
51 | 53 |
52 YamlException(this.msg); | 54 YamlException(this.msg); |
53 | 55 |
54 String toString() => msg; | 56 String toString() => msg; |
55 } | 57 } |
OLD | NEW |