Chromium Code Reviews

Side by Side Diff: pkg/dartino_compiler/lib/incremental/reuser.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 fletchc_incremental.reuser; 5 library dartino_compiler_incremental.reuser;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'package:compiler/compiler.dart' as api; 10 import 'package:compiler/compiler.dart' as api;
11 11
12 import 'package:compiler/src/compiler.dart' show 12 import 'package:compiler/src/compiler.dart' show
13 Compiler; 13 Compiler;
14 14
15 import 'package:compiler/src/diagnostics/messages.dart' show 15 import 'package:compiler/src/diagnostics/messages.dart' show
(...skipping 64 matching lines...)
80 import 'package:compiler/src/library_loader.dart' show 80 import 'package:compiler/src/library_loader.dart' show
81 TagState; 81 TagState;
82 82
83 import '../incremental_backend.dart' show 83 import '../incremental_backend.dart' show
84 IncrementalBackend; 84 IncrementalBackend;
85 85
86 import 'diff.dart' show 86 import 'diff.dart' show
87 Difference, 87 Difference,
88 computeDifference; 88 computeDifference;
89 89
90 import 'fletchc_incremental.dart' show 90 import 'dartino_compiler_incremental.dart' show
91 IncrementalCompilationFailed; 91 IncrementalCompilationFailed;
92 92
93 typedef void Logger(message); 93 typedef void Logger(message);
94 94
95 typedef bool ReuseFunction( 95 typedef bool ReuseFunction(
96 Token diffToken, 96 Token diffToken,
97 PartialElement before, 97 PartialElement before,
98 PartialElement after); 98 PartialElement after);
99 99
100 class FailedUpdate { 100 class FailedUpdate {
(...skipping 1075 matching lines...)
1176 // name of [element]. 1176 // name of [element].
1177 if (names.contains("${container.name}.${element.name}")) return true; 1177 if (names.contains("${container.name}.${element.name}")) return true;
1178 } 1178 }
1179 // TODO(ahe): Check for prefixes as well. 1179 // TODO(ahe): Check for prefixes as well.
1180 return false; 1180 return false;
1181 } 1181 }
1182 1182
1183 DeclarationSite declarationSite(Element element) { 1183 DeclarationSite declarationSite(Element element) {
1184 return element is ElementX ? element.declarationSite : null; 1184 return element is ElementX ? element.declarationSite : null;
1185 } 1185 }
OLDNEW
« no previous file with comments | « pkg/dartino_compiler/lib/incremental/diff.dart ('k') | pkg/dartino_compiler/lib/incremental/scope_information_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine