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

Unified Diff: pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart
diff --git a/pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart b/pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart
index feaf5493ce57abe147b64de16a4830c12ca9042c..39468d3d29131fb6ca5776a1aafd6bf46f95cf59 100644
--- a/pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart
+++ b/pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart
@@ -4,8 +4,7 @@
part of dart2js.mirrors;
-class Dart2JsLibraryMirror
- extends Dart2JsElementMirror
+class Dart2JsLibraryMirror extends Dart2JsElementMirror
with ObjectMirrorMixin, ContainerMixin
implements LibrarySourceMirror {
List<LibraryDependencySourceMirror> _libraryDependencies;
@@ -80,7 +79,7 @@ class Dart2JsLibraryMirror
<LibraryDependency, Dart2JsLibraryDependencyMirror>{};
void addLibraryDependency(LibraryDependency libraryDependency,
- LibraryElement targetLibraryElement) {
+ LibraryElement targetLibraryElement) {
assert(targetLibraryElement != null);
LibraryMirror targetLibrary =
mirrorSystem._getLibrary(targetLibraryElement);
@@ -119,14 +118,13 @@ class Dart2JsLibraryDependencyMirror implements LibraryDependencySourceMirror {
final Dart2JsLibraryMirror _targetLibrary;
List<CombinatorMirror> _combinators;
- Dart2JsLibraryDependencyMirror(this._node,
- this._sourceLibrary,
- this._targetLibrary);
+ Dart2JsLibraryDependencyMirror(
+ this._node, this._sourceLibrary, this._targetLibrary);
SourceLocation get location {
return new Dart2JsSourceLocation(
- _sourceLibrary._element.entryCompilationUnit.script,
- _sourceLibrary.mirrorSystem.compiler.reporter.spanFromSpannable(_node));
+ _sourceLibrary._element.entryCompilationUnit.script,
+ _sourceLibrary.mirrorSystem.compiler.reporter.spanFromSpannable(_node));
}
List<CombinatorMirror> get combinators {
@@ -138,8 +136,8 @@ class Dart2JsLibraryDependencyMirror implements LibraryDependencySourceMirror {
for (Identifier identifier in combinator.identifiers.nodes) {
identifiers.add(identifier.source);
}
- _combinators.add(new Dart2JsCombinatorMirror(
- identifiers, isShow: combinator.isShow));
+ _combinators.add(new Dart2JsCombinatorMirror(identifiers,
+ isShow: combinator.isShow));
}
}
}
« no previous file with comments | « pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart ('k') | pkg/compiler/lib/src/mirrors/dart2js_member_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698