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

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

Issue 924943010: Minor changes in analyzer to make it easier to extend (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 // 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:math" as math; 10 import "dart:math" as math;
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 * not incrementally resolved. 1059 * not incrementally resolved.
1060 */ 1060 */
1061 Source incrementalResolutionValidation_lastLibrarySource; 1061 Source incrementalResolutionValidation_lastLibrarySource;
1062 1062
1063 /** 1063 /**
1064 * The result of incremental resolution result of 1064 * The result of incremental resolution result of
1065 * [incrementalResolutionValidation_lastSource]. 1065 * [incrementalResolutionValidation_lastSource].
1066 */ 1066 */
1067 CompilationUnit incrementalResolutionValidation_lastUnit; 1067 CompilationUnit incrementalResolutionValidation_lastUnit;
1068 1068
1069 /** A factory to override how [ResolverVisitor] is created. */
1070 ResolverVisitorFactory resolverVisitorFactory;
1071
1072 /** A factory to override how [TypeResolverVisitor] is created. */
1073 TypeResolverVisitorFactory typeResolverVisitorFactory;
1074
1069 /** 1075 /**
1070 * Initialize a newly created analysis context. 1076 * Initialize a newly created analysis context.
1071 */ 1077 */
1072 AnalysisContextImpl() { 1078 AnalysisContextImpl() {
1073 _resultRecorder = new AnalysisContextImpl_AnalysisTaskResultRecorder(this); 1079 _resultRecorder = new AnalysisContextImpl_AnalysisTaskResultRecorder(this);
1074 _privatePartition = new UniversalCachePartition( 1080 _privatePartition = new UniversalCachePartition(
1075 this, 1081 this,
1076 AnalysisOptionsImpl.DEFAULT_CACHE_SIZE, 1082 AnalysisOptionsImpl.DEFAULT_CACHE_SIZE,
1077 new AnalysisContextImpl_ContextRetentionPolicy(this)); 1083 new AnalysisContextImpl_ContextRetentionPolicy(this));
1078 _cache = createCacheFromSourceFactory(null); 1084 _cache = createCacheFromSourceFactory(null);
(...skipping 11338 matching lines...) Expand 10 before | Expand all | Expand 10 after
12417 if (element.id == _id) { 12423 if (element.id == _id) {
12418 result = element; 12424 result = element;
12419 throw new _ElementByIdFinderException(); 12425 throw new _ElementByIdFinderException();
12420 } 12426 }
12421 super.visitElement(element); 12427 super.visitElement(element);
12422 } 12428 }
12423 } 12429 }
12424 12430
12425 class _ElementByIdFinderException { 12431 class _ElementByIdFinderException {
12426 } 12432 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | pkg/analyzer/lib/src/generated/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698