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

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

Issue 1193143002: Next steps toward HTML support (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comments Created 5 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
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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine; 8 library engine;
9 9
10 import 'dart:async'; 10 import 'dart:async';
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 Source unitSource, Source librarySource); 838 Source unitSource, Source librarySource);
839 839
840 /** 840 /**
841 * Parse and resolve a single [htmlSource] within the given context to produce 841 * Parse and resolve a single [htmlSource] within the given context to produce
842 * a fully resolved AST. 842 * a fully resolved AST.
843 * 843 *
844 * Throws an [AnalysisException] if the analysis could not be performed. 844 * Throws an [AnalysisException] if the analysis could not be performed.
845 * 845 *
846 * <b>Note:</b> This method cannot be used in an async environment. 846 * <b>Note:</b> This method cannot be used in an async environment.
847 */ 847 */
848 @deprecated
848 ht.HtmlUnit resolveHtmlUnit(Source htmlSource); 849 ht.HtmlUnit resolveHtmlUnit(Source htmlSource);
849 850
850 /** 851 /**
851 * Set the contents of the given [source] to the given [contents] and mark the 852 * Set the contents of the given [source] to the given [contents] and mark the
852 * source as having changed. The additional [offset] and [length] information 853 * source as having changed. The additional [offset] and [length] information
853 * is used by the context to determine what reanalysis is necessary. 854 * is used by the context to determine what reanalysis is necessary.
854 */ 855 */
855 void setChangedContents( 856 void setChangedContents(
856 Source source, String contents, int offset, int oldLength, int newLength); 857 Source source, String contents, int offset, int oldLength, int newLength);
857 858
(...skipping 10962 matching lines...) Expand 10 before | Expand all | Expand 10 after
11820 PendingFuture pendingFuture = 11821 PendingFuture pendingFuture =
11821 new PendingFuture<T>(_context, source, computeValue); 11822 new PendingFuture<T>(_context, source, computeValue);
11822 if (!pendingFuture.evaluate(sourceEntry)) { 11823 if (!pendingFuture.evaluate(sourceEntry)) {
11823 _context._pendingFutureSources 11824 _context._pendingFutureSources
11824 .putIfAbsent(source, () => <PendingFuture>[]) 11825 .putIfAbsent(source, () => <PendingFuture>[])
11825 .add(pendingFuture); 11826 .add(pendingFuture);
11826 } 11827 }
11827 return pendingFuture.future; 11828 return pendingFuture.future;
11828 } 11829 }
11829 } 11830 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/plugin/engine_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698