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

Side by Side Diff: editor/util/plugins/com.google.dart.java2dart/resources/test_support_include.dart

Issue 12604020: analyzer_experimental checkpoint and AnalysisContext example. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't mark Source as 'changed'. Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 1
2 2
3 class TestSource implements Source { 3 class TestSource implements Source {
4 bool operator ==(Object object) { 4 bool operator ==(Object object) {
5 return this == object; 5 return this == object;
6 } 6 }
7 AnalysisContext get context {
8 throw new UnsupportedOperationException();
9 }
7 void getContents(Source_ContentReceiver receiver) { 10 void getContents(Source_ContentReceiver receiver) {
8 throw new UnsupportedOperationException(); 11 throw new UnsupportedOperationException();
9 } 12 }
10 String get fullName { 13 String get fullName {
11 throw new UnsupportedOperationException(); 14 throw new UnsupportedOperationException();
12 } 15 }
13 String get shortName { 16 String get shortName {
14 throw new UnsupportedOperationException(); 17 throw new UnsupportedOperationException();
15 } 18 }
16 String get encoding { 19 String get encoding {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 return trampoline(target, arguments[0], arguments[1]); 54 return trampoline(target, arguments[0], arguments[1]);
52 case 3: 55 case 3:
53 return trampoline(target, arguments[0], arguments[1], arguments[2]); 56 return trampoline(target, arguments[0], arguments[1], arguments[2]);
54 case 4: 57 case 4:
55 return trampoline(target, arguments[0], arguments[1], arguments[2], argu ments[3]); 58 return trampoline(target, arguments[0], arguments[1], arguments[2], argu ments[3]);
56 default: 59 default:
57 throw new IllegalArgumentException("Not implemented for > 4 arguments"); 60 throw new IllegalArgumentException("Not implemented for > 4 arguments");
58 } 61 }
59 } 62 }
60 } 63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698