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

Side by Side Diff: lib/src/codegen/js_printer.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_printer;
6
7 import 'dart:convert' show JSON, JsonEncoder; 5 import 'dart:convert' show JSON, JsonEncoder;
8 import 'dart:io' show Directory, File, Platform, Process; 6 import 'dart:io' show Directory, File, Platform, Process;
9 7
10 import 'package:analyzer/src/generated/ast.dart'; 8 import 'package:analyzer/src/generated/ast.dart';
11 import 'package:path/path.dart' as path; 9 import 'package:path/path.dart' as path;
12 import 'package:source_maps/source_maps.dart' as srcmaps show Printer; 10 import 'package:source_maps/source_maps.dart' as srcmaps show Printer;
13 import 'package:source_maps/source_maps.dart' show SourceMapSpan; 11 import 'package:source_maps/source_maps.dart' show SourceMapSpan;
14 import 'package:source_span/source_span.dart' show SourceLocation; 12 import 'package:source_span/source_span.dart' show SourceLocation;
15 13
16 import '../js/js_ast.dart' as JS; 14 import '../js/js_ast.dart' as JS;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 _currentTopLevelDeclaration == null; 145 _currentTopLevelDeclaration == null;
148 return; 146 return;
149 } 147 }
150 } 148 }
151 149
152 String _getIdentifier(AstNode node) { 150 String _getIdentifier(AstNode node) {
153 if (node is SimpleIdentifier) return node.name; 151 if (node is SimpleIdentifier) return node.name;
154 return null; 152 return null;
155 } 153 }
156 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698