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

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

Issue 1240283004: few small analyzer AST visitor fixes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: bump pubspec.yaml Created 5 years, 5 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/parser.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 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1610 new TypeParameterList(cloneToken(node.leftBracket), 1610 new TypeParameterList(cloneToken(node.leftBracket),
1611 cloneNodeList(node.typeParameters), cloneToken(node.rightBracket)); 1611 cloneNodeList(node.typeParameters), cloneToken(node.rightBracket));
1612 1612
1613 @override 1613 @override
1614 VariableDeclaration visitVariableDeclaration(VariableDeclaration node) => 1614 VariableDeclaration visitVariableDeclaration(VariableDeclaration node) =>
1615 new VariableDeclaration(cloneNode(node.name), cloneToken(node.equals), 1615 new VariableDeclaration(cloneNode(node.name), cloneToken(node.equals),
1616 cloneNode(node.initializer)); 1616 cloneNode(node.initializer));
1617 1617
1618 @override 1618 @override
1619 VariableDeclarationList visitVariableDeclarationList( 1619 VariableDeclarationList visitVariableDeclarationList(
1620 VariableDeclarationList node) => new VariableDeclarationList(null, 1620 VariableDeclarationList node) => new VariableDeclarationList(
1621 cloneNode(node.documentationComment),
1621 cloneNodeList(node.metadata), cloneToken(node.keyword), 1622 cloneNodeList(node.metadata), cloneToken(node.keyword),
1622 cloneNode(node.type), cloneNodeList(node.variables)); 1623 cloneNode(node.type), cloneNodeList(node.variables));
1623 1624
1624 @override 1625 @override
1625 VariableDeclarationStatement visitVariableDeclarationStatement( 1626 VariableDeclarationStatement visitVariableDeclarationStatement(
1626 VariableDeclarationStatement node) => new VariableDeclarationStatement( 1627 VariableDeclarationStatement node) => new VariableDeclarationStatement(
1627 cloneNode(node.variables), cloneToken(node.semicolon)); 1628 cloneNode(node.variables), cloneToken(node.semicolon));
1628 1629
1629 @override 1630 @override
1630 WhileStatement visitWhileStatement(WhileStatement node) => new WhileStatement( 1631 WhileStatement visitWhileStatement(WhileStatement node) => new WhileStatement(
(...skipping 18576 matching lines...) Expand 10 before | Expand all | Expand 10 after
20207 } 20208 }
20208 20209
20209 @override 20210 @override
20210 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); 20211 accept(AstVisitor visitor) => visitor.visitYieldStatement(this);
20211 20212
20212 @override 20213 @override
20213 void visitChildren(AstVisitor visitor) { 20214 void visitChildren(AstVisitor visitor) {
20214 _safelyVisitChild(_expression, visitor); 20215 _safelyVisitChild(_expression, visitor);
20215 } 20216 }
20216 } 20217 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698