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

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

Issue 1717243003: cleanup to InvocationExpression AST declaration (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
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 analyzer.src.dart.ast.ast; 5 library analyzer.src.dart.ast.ast;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/ast/token.dart'; 10 import 'package:analyzer/dart/ast/token.dart';
(...skipping 6112 matching lines...) Expand 10 before | Expand all | Expand 10 after
6123 void visitChildren(AstVisitor visitor) {} 6123 void visitChildren(AstVisitor visitor) {}
6124 } 6124 }
6125 6125
6126 /** 6126 /**
6127 * Common base class for [FunctionExpressionInvocationImpl] and 6127 * Common base class for [FunctionExpressionInvocationImpl] and
6128 * [MethodInvocationImpl]. 6128 * [MethodInvocationImpl].
6129 */ 6129 */
6130 abstract class InvocationExpressionImpl extends ExpressionImpl 6130 abstract class InvocationExpressionImpl extends ExpressionImpl
6131 implements InvocationExpression { 6131 implements InvocationExpression {
6132 /** 6132 /**
6133 * The list of arguments to the function.
6134 */
6135 ArgumentList _argumentList;
6136
6137 /**
6133 * The type arguments to be applied to the method being invoked, or `null` if 6138 * The type arguments to be applied to the method being invoked, or `null` if
6134 * no type arguments were provided. 6139 * no type arguments were provided.
6135 */ 6140 */
6136 TypeArgumentList _typeArguments; 6141 TypeArgumentList _typeArguments;
6137 6142
6138 /**
6139 * The list of arguments to the function.
6140 */
6141 ArgumentList _argumentList;
6142
6143 @override 6143 @override
6144 DartType propagatedInvokeType; 6144 DartType propagatedInvokeType;
6145 6145
6146 @override 6146 @override
6147 DartType staticInvokeType; 6147 DartType staticInvokeType;
6148 6148
6149 /** 6149 /**
6150 * Initialize a newly created invocation. 6150 * Initialize a newly created invocation.
6151 */ 6151 */
6152 InvocationExpressionImpl( 6152 InvocationExpressionImpl(
(...skipping 4662 matching lines...) Expand 10 before | Expand all | Expand 10 after
10815 } 10815 }
10816 10816
10817 @override 10817 @override
10818 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); 10818 accept(AstVisitor visitor) => visitor.visitYieldStatement(this);
10819 10819
10820 @override 10820 @override
10821 void visitChildren(AstVisitor visitor) { 10821 void visitChildren(AstVisitor visitor) {
10822 _safelyVisitChild(_expression, visitor); 10822 _safelyVisitChild(_expression, visitor);
10823 } 10823 }
10824 } 10824 }
OLDNEW
« pkg/analyzer/lib/dart/ast/ast.dart ('K') | « pkg/analyzer/lib/dart/ast/ast.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698