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

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

Issue 1018443003: Start analyzing LibraryUnitTarget(s) from BuildLibraryElementTask. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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/task/dart.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 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 cloneNode(node.body)); 1634 cloneNode(node.body));
1635 1635
1636 @override 1636 @override
1637 WithClause visitWithClause(WithClause node) => new WithClause( 1637 WithClause visitWithClause(WithClause node) => new WithClause(
1638 cloneToken(node.withKeyword), cloneNodeList(node.mixinTypes)); 1638 cloneToken(node.withKeyword), cloneNodeList(node.mixinTypes));
1639 1639
1640 @override 1640 @override
1641 YieldStatement visitYieldStatement(YieldStatement node) => new YieldStatement( 1641 YieldStatement visitYieldStatement(YieldStatement node) => new YieldStatement(
1642 cloneToken(node.yieldKeyword), cloneToken(node.star), 1642 cloneToken(node.yieldKeyword), cloneToken(node.star),
1643 cloneNode(node.expression), cloneToken(node.semicolon)); 1643 cloneNode(node.expression), cloneToken(node.semicolon));
1644
1645 /**
1646 * Return a clone of the given [node].
1647 */
1648 static AstNode clone(AstNode node) {
1649 return node.accept(new AstCloner());
1650 }
1644 } 1651 }
1645 1652
1646 /** 1653 /**
1647 * An AstVisitor that compares the structure of two AstNodes to see whether they 1654 * An AstVisitor that compares the structure of two AstNodes to see whether they
1648 * are equal. 1655 * are equal.
1649 */ 1656 */
1650 class AstComparator implements AstVisitor<bool> { 1657 class AstComparator implements AstVisitor<bool> {
1651 /** 1658 /**
1652 * The AST node with which the node being visited is to be compared. This is 1659 * The AST node with which the node being visited is to be compared. This is
1653 * only valid at the beginning of each visit method (until [isEqualNodes] is 1660 * only valid at the beginning of each visit method (until [isEqualNodes] is
(...skipping 18435 matching lines...) Expand 10 before | Expand all | Expand 10 after
20089 } 20096 }
20090 20097
20091 @override 20098 @override
20092 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); 20099 accept(AstVisitor visitor) => visitor.visitYieldStatement(this);
20093 20100
20094 @override 20101 @override
20095 void visitChildren(AstVisitor visitor) { 20102 void visitChildren(AstVisitor visitor) {
20096 _safelyVisitChild(_expression, visitor); 20103 _safelyVisitChild(_expression, visitor);
20097 } 20104 }
20098 } 20105 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698