Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: lib/src/codegen/js_metalet.dart

Issue 1644823002: Remove library tags, they aren't needed (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 dev_compiler.src.codegen.js_metalet;
6
7 // TODO(jmesserly): import from its own package 5 // TODO(jmesserly): import from its own package
8 import '../js/js_ast.dart'; 6 import '../js/js_ast.dart';
9 import '../js/precedence.dart'; 7 import '../js/precedence.dart';
10 8
11 import 'js_names.dart' show TemporaryId; 9 import 'js_names.dart' show TemporaryId;
12 10
13 /// A synthetic `let*` node, similar to that found in Scheme. 11 /// A synthetic `let*` node, similar to that found in Scheme.
14 /// 12 ///
15 /// For example, postfix increment can be desugared as: 13 /// For example, postfix increment can be desugared as:
16 /// 14 ///
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } 310 }
313 311
314 @override visitYield(Yield node) { 312 @override visitYield(Yield node) {
315 if (!_nestedFunction) hasYield = true; 313 if (!_nestedFunction) hasYield = true;
316 } 314 }
317 315
318 @override visitNode(Node node) { 316 @override visitNode(Node node) {
319 if (!hasYield) super.visitNode(node); 317 if (!hasYield) super.visitNode(node);
320 } 318 }
321 } 319 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698