| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 dart2js.parser.partial_elements; | 5 library dart2js.parser.partial_elements; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/resolution.dart' show ParsingContext, Resolution; | 8 import '../common/resolution.dart' show ParsingContext, Resolution; |
| 9 import '../dart_types.dart' show DynamicType; | 9 import '../elements/resolution_types.dart' show DynamicType; |
| 10 import '../elements/elements.dart' | 10 import '../elements/elements.dart' |
| 11 show | 11 show |
| 12 CompilationUnitElement, | 12 CompilationUnitElement, |
| 13 Element, | 13 Element, |
| 14 ElementKind, | 14 ElementKind, |
| 15 GetterElement, | 15 GetterElement, |
| 16 MetadataAnnotation, | 16 MetadataAnnotation, |
| 17 SetterElement, | 17 SetterElement, |
| 18 STATE_NOT_STARTED, | 18 STATE_NOT_STARTED, |
| 19 STATE_DONE; | 19 STATE_DONE; |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 } on ParserError catch (e) { | 444 } on ParserError catch (e) { |
| 445 partial.hasParseError = true; | 445 partial.hasParseError = true; |
| 446 return new ErrorNode(element.position, e.reason); | 446 return new ErrorNode(element.position, e.reason); |
| 447 } | 447 } |
| 448 Node node = listener.popNode(); | 448 Node node = listener.popNode(); |
| 449 assert(listener.nodes.isEmpty); | 449 assert(listener.nodes.isEmpty); |
| 450 return node; | 450 return node; |
| 451 }); | 451 }); |
| 452 }); | 452 }); |
| 453 } | 453 } |
| OLD | NEW |