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

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

Issue 1067903002: Changes in analyzer needed for dev_compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes analyzer errors in tests (implement added API)" Created 5 years, 8 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/engine.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.ast; 8 library engine.ast;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 /** 490 /**
491 * If 491 * If
492 * * the given [expression] is a child of this list, 492 * * the given [expression] is a child of this list,
493 * * the AST structure has been resolved, 493 * * the AST structure has been resolved,
494 * * the function being invoked is known based on static type information, and 494 * * the function being invoked is known based on static type information, and
495 * * the expression corresponds to one of the parameters of the function being 495 * * the expression corresponds to one of the parameters of the function being
496 * invoked, 496 * invoked,
497 * then return the parameter element representing the parameter to which the 497 * then return the parameter element representing the parameter to which the
498 * value of the given expression will be bound. Otherwise, return `null`. 498 * value of the given expression will be bound. Otherwise, return `null`.
499 */ 499 */
500 @deprecated // Use "expression.propagatedParameterElement" 500 @deprecated // Use "expression.staticParameterElement"
501 ParameterElement getStaticParameterElementFor(Expression expression) { 501 ParameterElement getStaticParameterElementFor(Expression expression) {
502 return _getStaticParameterElementFor(expression); 502 return _getStaticParameterElementFor(expression);
503 } 503 }
504 504
505 @override 505 @override
506 void visitChildren(AstVisitor visitor) { 506 void visitChildren(AstVisitor visitor) {
507 _arguments.accept(visitor); 507 _arguments.accept(visitor);
508 } 508 }
509 509
510 /** 510 /**
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 void set rightHandSide(Expression expression) { 858 void set rightHandSide(Expression expression) {
859 _rightHandSide = _becomeParentOf(expression); 859 _rightHandSide = _becomeParentOf(expression);
860 } 860 }
861 861
862 /** 862 /**
863 * If the AST structure has been resolved, and the function being invoked is 863 * If the AST structure has been resolved, and the function being invoked is
864 * known based on static type information, then return the parameter element 864 * known based on static type information, then return the parameter element
865 * representing the parameter to which the value of the right operand will be 865 * representing the parameter to which the value of the right operand will be
866 * bound. Otherwise, return `null`. 866 * bound. Otherwise, return `null`.
867 */ 867 */
868 @deprecated // Use "expression.propagatedParameterElement" 868 @deprecated // Use "expression.staticParameterElement"
869 ParameterElement get staticParameterElementForRightHandSide { 869 ParameterElement get staticParameterElementForRightHandSide {
870 return _staticParameterElementForRightHandSide; 870 return _staticParameterElementForRightHandSide;
871 } 871 }
872 872
873 /** 873 /**
874 * If the AST structure has been resolved, and the function being invoked is 874 * If the AST structure has been resolved, and the function being invoked is
875 * known based on propagated type information, then return the parameter 875 * known based on propagated type information, then return the parameter
876 * element representing the parameter to which the value of the right operand 876 * element representing the parameter to which the value of the right operand
877 * will be bound. Otherwise, return `null`. 877 * will be bound. Otherwise, return `null`.
878 */ 878 */
(...skipping 2458 matching lines...) Expand 10 before | Expand all | Expand 10 after
3337 void set rightOperand(Expression expression) { 3337 void set rightOperand(Expression expression) {
3338 _rightOperand = _becomeParentOf(expression); 3338 _rightOperand = _becomeParentOf(expression);
3339 } 3339 }
3340 3340
3341 /** 3341 /**
3342 * If the AST structure has been resolved, and the function being invoked is 3342 * If the AST structure has been resolved, and the function being invoked is
3343 * known based on static type information, then return the parameter element 3343 * known based on static type information, then return the parameter element
3344 * representing the parameter to which the value of the right operand will be 3344 * representing the parameter to which the value of the right operand will be
3345 * bound. Otherwise, return `null`. 3345 * bound. Otherwise, return `null`.
3346 */ 3346 */
3347 @deprecated // Use "expression.propagatedParameterElement" 3347 @deprecated // Use "expression.staticParameterElement"
3348 ParameterElement get staticParameterElementForRightOperand { 3348 ParameterElement get staticParameterElementForRightOperand {
3349 return _staticParameterElementForRightOperand; 3349 return _staticParameterElementForRightOperand;
3350 } 3350 }
3351 3351
3352 /** 3352 /**
3353 * If the AST structure has been resolved, and the function being invoked is 3353 * If the AST structure has been resolved, and the function being invoked is
3354 * known based on propagated type information, then return the parameter 3354 * known based on propagated type information, then return the parameter
3355 * element representing the parameter to which the value of the right operand 3355 * element representing the parameter to which the value of the right operand
3356 * will be bound. Otherwise, return `null`. 3356 * will be bound. Otherwise, return `null`.
3357 */ 3357 */
(...skipping 16794 matching lines...) Expand 10 before | Expand all | Expand 10 after
20152 } 20152 }
20153 20153
20154 @override 20154 @override
20155 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); 20155 accept(AstVisitor visitor) => visitor.visitYieldStatement(this);
20156 20156
20157 @override 20157 @override
20158 void visitChildren(AstVisitor visitor) { 20158 void visitChildren(AstVisitor visitor) {
20159 _safelyVisitChild(_expression, visitor); 20159 _safelyVisitChild(_expression, visitor);
20160 } 20160 }
20161 } 20161 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698