| OLD | NEW |
| 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 Loading... |
| 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 8626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9705 | 9711 |
| 9706 /** | 9712 /** |
| 9707 * Returns a type provider for this context or throws an exception if dart:cor
e cannot be | 9713 * Returns a type provider for this context or throws an exception if dart:cor
e cannot be |
| 9708 * resolved. | 9714 * resolved. |
| 9709 * | 9715 * |
| 9710 * @return the type provider (not `null`) | 9716 * @return the type provider (not `null`) |
| 9711 * @throws AnalysisException if dart:core cannot be resolved | 9717 * @throws AnalysisException if dart:core cannot be resolved |
| 9712 */ | 9718 */ |
| 9713 TypeProvider get typeProvider; | 9719 TypeProvider get typeProvider; |
| 9714 | 9720 |
| 9721 /** A factory to override how [ResolverVisitor] is created. */ |
| 9722 ResolverVisitorFactory get resolverVisitorFactory; |
| 9723 |
| 9724 /** A factory to override how [TypeResolverVisitor] is created. */ |
| 9725 TypeResolverVisitorFactory get typeResolverVisitorFactory; |
| 9726 |
| 9715 /** | 9727 /** |
| 9716 * Add the given source with the given information to this context. | 9728 * Add the given source with the given information to this context. |
| 9717 * | 9729 * |
| 9718 * @param source the source to be added | 9730 * @param source the source to be added |
| 9719 * @param info the information about the source | 9731 * @param info the information about the source |
| 9720 */ | 9732 */ |
| 9721 void addSourceInfo(Source source, SourceEntry info); | 9733 void addSourceInfo(Source source, SourceEntry info); |
| 9722 | 9734 |
| 9723 /** | 9735 /** |
| 9724 * Return an array containing the sources of the libraries that are exported b
y the library with | 9736 * Return an array containing the sources of the libraries that are exported b
y the library with |
| (...skipping 2692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12417 if (element.id == _id) { | 12429 if (element.id == _id) { |
| 12418 result = element; | 12430 result = element; |
| 12419 throw new _ElementByIdFinderException(); | 12431 throw new _ElementByIdFinderException(); |
| 12420 } | 12432 } |
| 12421 super.visitElement(element); | 12433 super.visitElement(element); |
| 12422 } | 12434 } |
| 12423 } | 12435 } |
| 12424 | 12436 |
| 12425 class _ElementByIdFinderException { | 12437 class _ElementByIdFinderException { |
| 12426 } | 12438 } |
| OLD | NEW |