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

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

Issue 727763003: Remove unused fields in analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/ast.dart ('k') | pkg/analyzer/lib/src/generated/resolver.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 // 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:collection'; 10 import 'dart:collection';
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 */ 928 */
929 HashSet<Source> _neededForResolution = null; 929 HashSet<Source> _neededForResolution = null;
930 930
931 /** 931 /**
932 * A table mapping sources to the change notices that are waiting to be return ed related to that 932 * A table mapping sources to the change notices that are waiting to be return ed related to that
933 * source. 933 * source.
934 */ 934 */
935 HashMap<Source, ChangeNoticeImpl> _pendingNotices = new HashMap<Source, Change NoticeImpl>(); 935 HashMap<Source, ChangeNoticeImpl> _pendingNotices = new HashMap<Source, Change NoticeImpl>();
936 936
937 /** 937 /**
938 * The object used to synchronize access to all of the caches. The rules relat ed to the use of
939 * this lock object are
940 * * no analysis work is done while holding the lock, and
941 * * no analysis results can be recorded unless we have obtained the lock and validated that the
942 * results are for the same version (modification time) of the source as our c urrent cache
943 * content.
944 */
945 static Object _cacheLock = new Object();
946
947 /**
948 * The object used to record the results of performing an analysis task. 938 * The object used to record the results of performing an analysis task.
949 */ 939 */
950 AnalysisContextImpl_AnalysisTaskResultRecorder _resultRecorder; 940 AnalysisContextImpl_AnalysisTaskResultRecorder _resultRecorder;
951 941
952 /** 942 /**
953 * Cached information used in incremental analysis or `null` if none. Synchron ize against 943 * Cached information used in incremental analysis or `null` if none. Synchron ize against
954 * [cacheLock] before accessing this field. 944 * [cacheLock] before accessing this field.
955 */ 945 */
956 IncrementalAnalysisCache _incrementalAnalysisCache; 946 IncrementalAnalysisCache _incrementalAnalysisCache;
957 947
(...skipping 11753 matching lines...) Expand 10 before | Expand all | Expand 10 after
12711 } 12701 }
12712 return "resolve as html ${source.fullName}"; 12702 return "resolve as html ${source.fullName}";
12713 } 12703 }
12714 12704
12715 @override 12705 @override
12716 void internalPerform() { 12706 void internalPerform() {
12717 // 12707 //
12718 // Build the standard HTML element. 12708 // Build the standard HTML element.
12719 // 12709 //
12720 HtmlUnitBuilder builder = new HtmlUnitBuilder(context); 12710 HtmlUnitBuilder builder = new HtmlUnitBuilder(context);
12721 _element = builder.buildHtmlElement(source, modificationTime, _unit); 12711 _element = builder.buildHtmlElement(source, _unit);
12722 RecordingErrorListener errorListener = builder.errorListener; 12712 RecordingErrorListener errorListener = builder.errorListener;
12723 // 12713 //
12724 // Validate the directives 12714 // Validate the directives
12725 // 12715 //
12726 _unit.accept(new RecursiveXmlVisitor_ResolveHtmlTask_internalPerform(this, e rrorListener)); 12716 _unit.accept(new RecursiveXmlVisitor_ResolveHtmlTask_internalPerform(this, e rrorListener));
12727 // 12717 //
12728 // Record all resolution errors. 12718 // Record all resolution errors.
12729 // 12719 //
12730 _resolutionErrors = errorListener.getErrorsForSource(source); 12720 _resolutionErrors = errorListener.getErrorsForSource(source);
12731 // 12721 //
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
13532 _index++; 13522 _index++;
13533 if (_index >= _manager._workQueues[_queueIndex].length) { 13523 if (_index >= _manager._workQueues[_queueIndex].length) {
13534 _index = 0; 13524 _index = 0;
13535 _queueIndex++; 13525 _queueIndex++;
13536 while (_queueIndex < _manager._workQueues.length && _manager._workQueues[_ queueIndex].isEmpty) { 13526 while (_queueIndex < _manager._workQueues.length && _manager._workQueues[_ queueIndex].isEmpty) {
13537 _queueIndex++; 13527 _queueIndex++;
13538 } 13528 }
13539 } 13529 }
13540 } 13530 }
13541 } 13531 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/ast.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698