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

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

Issue 147903005: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/element.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 13697 matching lines...) Expand 10 before | Expand all | Expand 10 after
13708 visit3(" ", node.extendsClause); 13708 visit3(" ", node.extendsClause);
13709 visit3(" ", node.withClause); 13709 visit3(" ", node.withClause);
13710 visit3(" ", node.implementsClause); 13710 visit3(" ", node.implementsClause);
13711 _writer.print(" {"); 13711 _writer.print(" {");
13712 visitList2(node.members, " "); 13712 visitList2(node.members, " ");
13713 _writer.print("}"); 13713 _writer.print("}");
13714 return null; 13714 return null;
13715 } 13715 }
13716 13716
13717 Object visitClassTypeAlias(ClassTypeAlias node) { 13717 Object visitClassTypeAlias(ClassTypeAlias node) {
13718 if (node.abstractKeyword != null) {
13719 _writer.print("abstract ");
13720 }
13718 _writer.print("class "); 13721 _writer.print("class ");
13719 visit(node.name); 13722 visit(node.name);
13720 visit(node.typeParameters); 13723 visit(node.typeParameters);
13721 _writer.print(" = "); 13724 _writer.print(" = ");
13722 if (node.abstractKeyword != null) {
13723 _writer.print("abstract ");
13724 }
13725 visit(node.superclass); 13725 visit(node.superclass);
13726 visit3(" ", node.withClause); 13726 visit3(" ", node.withClause);
13727 visit3(" ", node.implementsClause); 13727 visit3(" ", node.implementsClause);
13728 _writer.print(";"); 13728 _writer.print(";");
13729 return null; 13729 return null;
13730 } 13730 }
13731 13731
13732 Object visitComment(Comment node) => null; 13732 Object visitComment(Comment node) => null;
13733 13733
13734 Object visitCommentReference(CommentReference node) => null; 13734 Object visitCommentReference(CommentReference node) => null;
(...skipping 2722 matching lines...) Expand 10 before | Expand all | Expand 10 after
16457 } 16457 }
16458 void operator[]=(int index, E node) { 16458 void operator[]=(int index, E node) {
16459 if (index < 0 || index >= _elements.length) { 16459 if (index < 0 || index >= _elements.length) {
16460 throw new RangeError("Index: ${index}, Size: ${_elements.length}"); 16460 throw new RangeError("Index: ${index}, Size: ${_elements.length}");
16461 } 16461 }
16462 owner.becomeParentOf(node); 16462 owner.becomeParentOf(node);
16463 _elements[index] = node; 16463 _elements[index] = node;
16464 } 16464 }
16465 int get length => _elements.length; 16465 int get length => _elements.length;
16466 } 16466 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698