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

Side by Side Diff: pkg/analyzer/lib/src/generated/source_io.dart

Issue 1749143003: Add @overrides to (a lot of) analyzer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: options Created 4 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/lib/src/string_source.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 analyzer.src.generated.source_io; 5 library analyzer.src.generated.source_io;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/src/generated/engine.dart'; 9 import 'package:analyzer/src/generated/engine.dart';
10 import 'package:analyzer/src/generated/java_core.dart'; 10 import 'package:analyzer/src/generated/java_core.dart';
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 * identifier is used for equality tests and hash codes. 95 * identifier is used for equality tests and hash codes.
96 * 96 *
97 * The URI and filepath are joined into a pair by separating them with an '@' 97 * The URI and filepath are joined into a pair by separating them with an '@'
98 * character. 98 * character.
99 */ 99 */
100 static final Map<String, int> _idTable = new HashMap<String, int>(); 100 static final Map<String, int> _idTable = new HashMap<String, int>();
101 101
102 /** 102 /**
103 * The URI from which this source was originally derived. 103 * The URI from which this source was originally derived.
104 */ 104 */
105 @override
105 final Uri uri; 106 final Uri uri;
106 107
107 /** 108 /**
108 * The unique ID associated with this [FileBasedSource]. 109 * The unique ID associated with this [FileBasedSource].
109 */ 110 */
110 final int id; 111 final int id;
111 112
112 /** 113 /**
113 * The file represented by this source. 114 * The file represented by this source.
114 */ 115 */
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 } 539 }
539 540
540 /** 541 /**
541 * Return `true` if the given URI is a `file` URI. 542 * Return `true` if the given URI is a `file` URI.
542 * 543 *
543 * @param uri the URI being tested 544 * @param uri the URI being tested
544 * @return `true` if the given URI is a `file` URI 545 * @return `true` if the given URI is a `file` URI
545 */ 546 */
546 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME; 547 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME;
547 } 548 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/lib/src/string_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698