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

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

Issue 1855643002: More strong mode changes to analysis_server (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Backout changes to options file Created 4 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
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/generated/error.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.engine; 5 library analyzer.src.generated.engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 */ 339 */
340 CompilationUnitElement getCompilationUnitElement( 340 CompilationUnitElement getCompilationUnitElement(
341 Source unitSource, Source librarySource); 341 Source unitSource, Source librarySource);
342 342
343 /** 343 /**
344 * Return configuration data associated with the given key or the [key]'s 344 * Return configuration data associated with the given key or the [key]'s
345 * default value if no state has been associated. 345 * default value if no state has been associated.
346 * 346 *
347 * See [setConfigurationData]. 347 * See [setConfigurationData].
348 */ 348 */
349 Object getConfigurationData(ResultDescriptor key); 349 Object/*=V*/ getConfigurationData/*<V>*/(ResultDescriptor/*<V>*/ key);
350 350
351 /** 351 /**
352 * Return the contents and timestamp of the given [source]. 352 * Return the contents and timestamp of the given [source].
353 * 353 *
354 * This method should be used rather than the method [Source.getContents] 354 * This method should be used rather than the method [Source.getContents]
355 * because contexts can have local overrides of the content of a source that 355 * because contexts can have local overrides of the content of a source that
356 * the source is not aware of. 356 * the source is not aware of.
357 */ 357 */
358 TimestampedData<String> getContents(Source source); 358 TimestampedData<String> getContents(Source source);
359 359
(...skipping 2188 matching lines...) Expand 10 before | Expand all | Expand 10 after
2548 * The data that was created from the source. 2548 * The data that was created from the source.
2549 */ 2549 */
2550 final E data; 2550 final E data;
2551 2551
2552 /** 2552 /**
2553 * Initialize a newly created holder to associate the given [data] with the 2553 * Initialize a newly created holder to associate the given [data] with the
2554 * given [modificationTime]. 2554 * given [modificationTime].
2555 */ 2555 */
2556 TimestampedData(this.modificationTime, this.data); 2556 TimestampedData(this.modificationTime, this.data);
2557 } 2557 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/generated/error.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698