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

Side by Side Diff: pkg/analyzer/lib/src/context/cache.dart

Issue 2328043002: Move exception support to its own library (Closed)
Patch Set: Created 4 years, 3 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 | « pkg/analyzer/lib/exception/exception.dart ('k') | pkg/analyzer/lib/src/context/context.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) 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 analyzer.src.context.cache; 5 library analyzer.src.context.cache;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/exception/exception.dart';
10 import 'package:analyzer/file_system/file_system.dart'; 11 import 'package:analyzer/file_system/file_system.dart';
11 import 'package:analyzer/src/generated/engine.dart'; 12 import 'package:analyzer/src/generated/engine.dart';
12 import 'package:analyzer/src/generated/java_engine.dart';
13 import 'package:analyzer/src/generated/source.dart'; 13 import 'package:analyzer/src/generated/source.dart';
14 import 'package:analyzer/src/generated/utilities_collection.dart'; 14 import 'package:analyzer/src/generated/utilities_collection.dart';
15 import 'package:analyzer/src/task/model.dart'; 15 import 'package:analyzer/src/task/model.dart';
16 import 'package:analyzer/task/model.dart'; 16 import 'package:analyzer/task/model.dart';
17 17
18 /** 18 /**
19 * The cache results visiting function type. 19 * The cache results visiting function type.
20 */ 20 */
21 typedef void CacheResultVisitor(AnalysisTarget target, ResultData data); 21 typedef void CacheResultVisitor(AnalysisTarget target, ResultData data);
22 22
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 void resultAccessed(TargetedResult result) {} 1539 void resultAccessed(TargetedResult result) {}
1540 1540
1541 @override 1541 @override
1542 List<TargetedResult> resultStored(TargetedResult newResult, newValue) { 1542 List<TargetedResult> resultStored(TargetedResult newResult, newValue) {
1543 return TargetedResult.EMPTY_LIST; 1543 return TargetedResult.EMPTY_LIST;
1544 } 1544 }
1545 1545
1546 @override 1546 @override
1547 void targetRemoved(AnalysisTarget target) {} 1547 void targetRemoved(AnalysisTarget target) {}
1548 } 1548 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/exception/exception.dart ('k') | pkg/analyzer/lib/src/context/context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698