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

Side by Side Diff: lib/src/barback/transformer_isolate.dart

Issue 1145973003: Move assets into lib/src. (Closed) Base URL: git@github.com:dart-lang/pub_test@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « lib/src/barback/foreign_transformer.dart ('k') | lib/src/dart.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 pub.transformer_isolate; 5 library pub.transformer_isolate;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 10
11 import 'package:barback/barback.dart'; 11 import 'package:barback/barback.dart';
12 import 'package:source_span/source_span.dart'; 12 import 'package:source_span/source_span.dart';
13 import 'package:stack_trace/stack_trace.dart'; 13 import 'package:stack_trace/stack_trace.dart';
14 14
15 import '../../../asset/dart/serialize.dart'; 15 import '../asset/dart/serialize.dart';
16 import '../barback.dart'; 16 import '../barback.dart';
17 import '../exceptions.dart'; 17 import '../exceptions.dart';
18 import '../dart.dart' as dart; 18 import '../dart.dart' as dart;
19 import '../log.dart' as log; 19 import '../log.dart' as log;
20 import '../utils.dart'; 20 import '../utils.dart';
21 import 'asset_environment.dart'; 21 import 'asset_environment.dart';
22 import 'barback_server.dart'; 22 import 'barback_server.dart';
23 import 'foreign_transformer.dart'; 23 import 'foreign_transformer.dart';
24 import 'transformer_config.dart'; 24 import 'transformer_config.dart';
25 import 'transformer_id.dart'; 25 import 'transformer_id.dart';
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 /// An error thrown when a transformer fails to load. 135 /// An error thrown when a transformer fails to load.
136 class TransformerLoadError extends SourceSpanException 136 class TransformerLoadError extends SourceSpanException
137 implements WrappedException { 137 implements WrappedException {
138 final CrossIsolateException innerError; 138 final CrossIsolateException innerError;
139 Chain get innerChain => innerError.stackTrace; 139 Chain get innerChain => innerError.stackTrace;
140 140
141 TransformerLoadError(CrossIsolateException error, SourceSpan span) 141 TransformerLoadError(CrossIsolateException error, SourceSpan span)
142 : innerError = error, 142 : innerError = error,
143 super("Error loading transformer: ${error.message}", span); 143 super("Error loading transformer: ${error.message}", span);
144 } 144 }
OLDNEW
« no previous file with comments | « lib/src/barback/foreign_transformer.dart ('k') | lib/src/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698