OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 fasta.scope_listener; | 5 library fasta.scope_listener; |
6 | 6 |
7 import 'package:front_end/src/fasta/scanner/token.dart' show Token; | 7 import '../scanner/token.dart' show Token; |
8 | 8 |
9 import 'unhandled_listener.dart' show NullValue, UnhandledListener; | 9 import 'unhandled_listener.dart' show NullValue, UnhandledListener; |
10 | 10 |
11 import '../builder/scope.dart' show Scope; | 11 import '../builder/scope.dart' show Scope; |
12 | 12 |
13 export '../builder/scope.dart' show Scope; | 13 export '../builder/scope.dart' show Scope; |
14 | 14 |
15 export 'unhandled_listener.dart' show NullValue, Unhandled; | 15 export 'unhandled_listener.dart' show NullValue, Unhandled; |
16 | 16 |
17 enum JumpTargetKind { | 17 enum JumpTargetKind { |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 } | 196 } |
197 | 197 |
198 @override | 198 @override |
199 void endElseStatement(Token token) { | 199 void endElseStatement(Token token) { |
200 debugEvent("endElseStatement"); | 200 debugEvent("endElseStatement"); |
201 var body = pop(); | 201 var body = pop(); |
202 exitLocalScope(); | 202 exitLocalScope(); |
203 push(body); | 203 push(body); |
204 } | 204 } |
205 } | 205 } |
OLD | NEW |