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

Side by Side Diff: pkg/analyzer/test/generated/resolver_test.dart

Issue 708263002: Clean up references in comments (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/test/generated/parser_test.dart ('k') | no next file » | 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 engine.resolver_test; 5 library engine.resolver_test;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'package:analyzer/src/generated/java_core.dart'; 8 import 'package:analyzer/src/generated/java_core.dart';
9 import 'package:analyzer/src/generated/java_engine.dart'; 9 import 'package:analyzer/src/generated/java_engine.dart';
10 import 'package:analyzer/src/generated/java_engine_io.dart'; 10 import 'package:analyzer/src/generated/java_engine_io.dart';
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 285 }
286 } 286 }
287 287
288 /** 288 /**
289 * Helper for creating and managing single [AnalysisContext]. 289 * Helper for creating and managing single [AnalysisContext].
290 */ 290 */
291 class AnalysisContextHelper { 291 class AnalysisContextHelper {
292 AnalysisContext context; 292 AnalysisContext context;
293 293
294 /** 294 /**
295 * Creates new [AnalysisContext] using [AnalysisContextFactory#contextWithCore ]. 295 * Creates new [AnalysisContext] using [AnalysisContextFactory.contextWithCore ].
296 */ 296 */
297 AnalysisContextHelper() { 297 AnalysisContextHelper() {
298 context = AnalysisContextFactory.contextWithCore(); 298 context = AnalysisContextFactory.contextWithCore();
299 AnalysisOptionsImpl options = new AnalysisOptionsImpl.con1(context.analysisO ptions); 299 AnalysisOptionsImpl options = new AnalysisOptionsImpl.con1(context.analysisO ptions);
300 options.cacheSize = 256; 300 options.cacheSize = 256;
301 context.analysisOptions = options; 301 context.analysisOptions = options;
302 } 302 }
303 303
304 Source addSource(String path, String code) { 304 Source addSource(String path, String code) {
305 Source source = new FileBasedSource.con1(FileUtilities2.createFile(path)); 305 Source source = new FileBasedSource.con1(FileUtilities2.createFile(path));
(...skipping 8475 matching lines...) Expand 10 before | Expand all | Expand 10 after
8781 */ 8781 */
8782 DoubleLiteral _resolvedDouble(double value) { 8782 DoubleLiteral _resolvedDouble(double value) {
8783 DoubleLiteral literal = AstFactory.doubleLiteral(value); 8783 DoubleLiteral literal = AstFactory.doubleLiteral(value);
8784 literal.staticType = _typeProvider.doubleType; 8784 literal.staticType = _typeProvider.doubleType;
8785 return literal; 8785 return literal;
8786 } 8786 }
8787 8787
8788 /** 8788 /**
8789 * Create a function expression that has an element associated with it, where the element has an 8789 * Create a function expression that has an element associated with it, where the element has an
8790 * incomplete type associated with it (just like the one 8790 * incomplete type associated with it (just like the one
8791 * [ElementBuilder#visitFunctionExpression] would have built if we had 8791 * [ElementBuilder.visitFunctionExpression] would have built if we had
8792 * run it). 8792 * run it).
8793 * 8793 *
8794 * @param parameters the parameters to the function 8794 * @param parameters the parameters to the function
8795 * @param body the body of the function 8795 * @param body the body of the function
8796 * @return a resolved function expression 8796 * @return a resolved function expression
8797 */ 8797 */
8798 FunctionExpression _resolvedFunctionExpression(FormalParameterList parameters, FunctionBody body) { 8798 FunctionExpression _resolvedFunctionExpression(FormalParameterList parameters, FunctionBody body) {
8799 List<ParameterElement> parameterElements = new List<ParameterElement>(); 8799 List<ParameterElement> parameterElements = new List<ParameterElement>();
8800 for (FormalParameter parameter in parameters.parameters) { 8800 for (FormalParameter parameter in parameters.parameters) {
8801 ParameterElementImpl element = new ParameterElementImpl.forNode(parameter. identifier); 8801 ParameterElementImpl element = new ParameterElementImpl.forNode(parameter. identifier);
(...skipping 2839 matching lines...) Expand 10 before | Expand all | Expand 10 after
11641 runReflectiveTests(TypeResolverVisitorTest); 11641 runReflectiveTests(TypeResolverVisitorTest);
11642 runReflectiveTests(CheckedModeCompileTimeErrorCodeTest); 11642 runReflectiveTests(CheckedModeCompileTimeErrorCodeTest);
11643 runReflectiveTests(ErrorResolverTest); 11643 runReflectiveTests(ErrorResolverTest);
11644 runReflectiveTests(HintCodeTest); 11644 runReflectiveTests(HintCodeTest);
11645 runReflectiveTests(MemberMapTest); 11645 runReflectiveTests(MemberMapTest);
11646 runReflectiveTests(NonHintCodeTest); 11646 runReflectiveTests(NonHintCodeTest);
11647 runReflectiveTests(SimpleResolverTest); 11647 runReflectiveTests(SimpleResolverTest);
11648 runReflectiveTests(StrictModeTest); 11648 runReflectiveTests(StrictModeTest);
11649 runReflectiveTests(TypePropagationTest); 11649 runReflectiveTests(TypePropagationTest);
11650 } 11650 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/generated/parser_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698