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

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

Issue 17317002: Convert isX() methods to isX getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 library engine.source; 3 library engine.source;
4 import 'java_core.dart'; 4 import 'java_core.dart';
5 import 'sdk.dart' show DartSdk; 5 import 'sdk.dart' show DartSdk;
6 import 'engine.dart' show AnalysisContext; 6 import 'engine.dart' show AnalysisContext;
7 /** 7 /**
8 * Instances of the class `SourceFactory` resolve possibly relative URI's agains t an existing[Source source]. 8 * Instances of the class `SourceFactory` resolve possibly relative URI's agains t an existing[Source source].
9 * @coverage dart.engine.source 9 * @coverage dart.engine.source
10 */ 10 */
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 * Return a hash code for this source. 338 * Return a hash code for this source.
339 * @return a hash code for this source 339 * @return a hash code for this source
340 * @see Object#hashCode() 340 * @see Object#hashCode()
341 */ 341 */
342 int get hashCode; 342 int get hashCode;
343 343
344 /** 344 /**
345 * Return `true` if this source is in one of the system libraries. 345 * Return `true` if this source is in one of the system libraries.
346 * @return `true` if this is in a system library 346 * @return `true` if this is in a system library
347 */ 347 */
348 bool isInSystemLibrary(); 348 bool get isInSystemLibrary;
349 349
350 /** 350 /**
351 * Resolve the relative URI against the URI associated with this source object . Return a[Source source] representing the URI to which it was resolved, or `nul l` if it 351 * Resolve the relative URI against the URI associated with this source object . Return a[Source source] representing the URI to which it was resolved, or `nul l` if it
352 * could not be resolved. 352 * could not be resolved.
353 * 353 *
354 * Note: This method is not intended for public use, it is only visible out of necessity. It is 354 * Note: This method is not intended for public use, it is only visible out of necessity. It is
355 * only intended to be invoked by a [SourceFactory source factory]. Source fac tories will 355 * only intended to be invoked by a [SourceFactory source factory]. Source fac tories will
356 * only invoke this method if the URI is relative, so implementations of this method are not 356 * only invoke this method if the URI is relative, so implementations of this method are not
357 * required to, and generally do not, verify the argument. The result of invok ing this method with 357 * required to, and generally do not, verify the argument. The result of invok ing this method with
358 * an absolute URI is intentionally left unspecified. 358 * an absolute URI is intentionally left unspecified.
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 void setContents(Source source, String contents) { 821 void setContents(Source source, String contents) {
822 if (contents == null) { 822 if (contents == null) {
823 _contentMap.remove(source); 823 _contentMap.remove(source);
824 _stampMap.remove(source); 824 _stampMap.remove(source);
825 } else { 825 } else {
826 _contentMap[source] = contents; 826 _contentMap[source] = contents;
827 _stampMap[source] = JavaSystem.currentTimeMillis(); 827 _stampMap[source] = JavaSystem.currentTimeMillis();
828 } 828 }
829 } 829 }
830 } 830 }
OLDNEW
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/sdk_io.dart ('k') | pkg/analyzer_experimental/lib/src/generated/source_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698