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

Side by Side Diff: pkg/analyzer_experimental/lib/src/generated/source.dart

Issue 14161021: Generate unique names less aggressively. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 3
4 library engine.source; 4 library engine.source;
5 5
6 import 'dart:uri'; 6 import 'dart:uri';
7 import 'java_core.dart'; 7 import 'java_core.dart';
8 import 'sdk.dart' show DartSdk; 8 import 'sdk.dart' show DartSdk;
9 import 'engine.dart' show AnalysisContext; 9 import 'engine.dart' show AnalysisContext;
10 10
(...skipping 12 matching lines...) Expand all
23 List<UriResolver> _resolvers; 23 List<UriResolver> _resolvers;
24 /** 24 /**
25 * A cache of content used to override the default content of a source. 25 * A cache of content used to override the default content of a source.
26 */ 26 */
27 ContentCache _contentCache; 27 ContentCache _contentCache;
28 /** 28 /**
29 * Initialize a newly created source factory. 29 * Initialize a newly created source factory.
30 * @param contentCache the cache holding content used to override the default content of a source 30 * @param contentCache the cache holding content used to override the default content of a source
31 * @param resolvers the resolvers used to resolve absolute URI's 31 * @param resolvers the resolvers used to resolve absolute URI's
32 */ 32 */
33 SourceFactory.con1(ContentCache contentCache3, List<UriResolver> resolvers2) { 33 SourceFactory.con1(ContentCache contentCache2, List<UriResolver> resolvers2) {
34 _jtd_constructor_332_impl(contentCache3, resolvers2); 34 _jtd_constructor_332_impl(contentCache2, resolvers2);
35 } 35 }
36 _jtd_constructor_332_impl(ContentCache contentCache3, List<UriResolver> resolv ers2) { 36 _jtd_constructor_332_impl(ContentCache contentCache2, List<UriResolver> resolv ers2) {
37 this._contentCache = contentCache3; 37 this._contentCache = contentCache2;
38 this._resolvers = resolvers2; 38 this._resolvers = resolvers2;
39 } 39 }
40 /** 40 /**
41 * Initialize a newly created source factory. 41 * Initialize a newly created source factory.
42 * @param resolvers the resolvers used to resolve absolute URI's 42 * @param resolvers the resolvers used to resolve absolute URI's
43 */ 43 */
44 SourceFactory.con2(List<UriResolver> resolvers) { 44 SourceFactory.con2(List<UriResolver> resolvers) {
45 _jtd_constructor_333_impl(resolvers); 45 _jtd_constructor_333_impl(resolvers);
46 } 46 }
47 _jtd_constructor_333_impl(List<UriResolver> resolvers) { 47 _jtd_constructor_333_impl(List<UriResolver> resolvers) {
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 void setContents(Source source, String contents) { 617 void setContents(Source source, String contents) {
618 if (contents == null) { 618 if (contents == null) {
619 _contentMap.remove(source); 619 _contentMap.remove(source);
620 _stampMap.remove(source); 620 _stampMap.remove(source);
621 } else { 621 } else {
622 _contentMap[source] = contents; 622 _contentMap[source] = contents;
623 _stampMap[source] = JavaSystem.currentTimeMillis(); 623 _stampMap[source] = JavaSystem.currentTimeMillis();
624 } 624 }
625 } 625 }
626 } 626 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698