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

Side by Side Diff: pkg/dartino_compiler/lib/incremental/diff.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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
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.diff; 5 library dartino_compiler.incremental.diff;
6 6
7 import 'package:compiler/src/elements/elements.dart' show 7 import 'package:compiler/src/elements/elements.dart' show
8 AbstractFieldElement, 8 AbstractFieldElement,
9 ClassElement, 9 ClassElement,
10 CompilationUnitElement, 10 CompilationUnitElement,
11 Element, 11 Element,
12 ElementCategory, 12 ElementCategory,
13 FunctionElement, 13 FunctionElement,
14 LibraryElement, 14 LibraryElement,
15 ScopeContainerElement; 15 ScopeContainerElement;
16 16
17 import 'package:compiler/src/elements/modelx.dart' as modelx; 17 import 'package:compiler/src/elements/modelx.dart' as modelx;
18 18
19 import 'package:compiler/src/elements/modelx.dart' show 19 import 'package:compiler/src/elements/modelx.dart' show
20 DeclarationSite; 20 DeclarationSite;
21 21
22 import 'package:compiler/src/tokens/token_constants.dart' show 22 import 'package:compiler/src/tokens/token_constants.dart' show
23 EOF_TOKEN, 23 EOF_TOKEN,
24 IDENTIFIER_TOKEN, 24 IDENTIFIER_TOKEN,
25 KEYWORD_TOKEN; 25 KEYWORD_TOKEN;
26 26
27 import 'package:compiler/src/tokens/token.dart' show 27 import 'package:compiler/src/tokens/token.dart' show
28 ErrorToken, 28 ErrorToken,
29 Token; 29 Token;
30 30
31 import 'package:compiler/src/parser/partial_elements.dart' show 31 import 'package:compiler/src/parser/partial_elements.dart' show
32 PartialClassElement, 32 PartialClassElement,
33 PartialElement; 33 PartialElement;
34 34
35 import 'fletchc_incremental.dart' show 35 import 'dartino_compiler_incremental.dart' show
36 IncrementalCompilationFailed; 36 IncrementalCompilationFailed;
37 37
38 class Difference { 38 class Difference {
39 final DeclarationSite before; 39 final DeclarationSite before;
40 final DeclarationSite after; 40 final DeclarationSite after;
41 41
42 /// Records the position of first difference between [before] and [after]. If 42 /// Records the position of first difference between [before] and [after]. If
43 /// either [before] or [after] are null, [token] is null. 43 /// either [before] or [after] are null, [token] is null.
44 Token token; 44 Token token;
45 45
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 beforeToken = beforeToken.next; 149 beforeToken = beforeToken.next;
150 afterToken = afterToken.next; 150 afterToken = afterToken.next;
151 beforeKind = beforeToken.kind; 151 beforeKind = beforeToken.kind;
152 afterKind = afterToken.kind; 152 afterKind = afterToken.kind;
153 } 153 }
154 return beforeKind != afterKind; 154 return beforeKind != afterKind;
155 } 155 }
156 print("$before isn't a PartialElement"); 156 print("$before isn't a PartialElement");
157 return true; 157 return true;
158 } 158 }
OLDNEW
« no previous file with comments | « pkg/dartino_compiler/lib/incremental/dartino_reuser.dart ('k') | pkg/dartino_compiler/lib/incremental/reuser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698