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

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

Issue 14750010: Adding utility to display API differences between dart2js and dartium DOM libraries. Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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_experimental/lib/src/generated/constant.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 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 3
4 library engine.ast; 4 library engine.ast;
5 5
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'java_core.dart'; 7 import 'java_core.dart';
8 import 'java_engine.dart'; 8 import 'java_engine.dart';
9 import 'error.dart'; 9 import 'error.dart';
10 import 'source.dart' show LineInfo; 10 import 'source.dart' show LineInfo;
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 * Return an array containing the comment and annotations associated with this node, sorted in 457 * Return an array containing the comment and annotations associated with this node, sorted in
458 * lexical order. 458 * lexical order.
459 * @return the comment and annotations associated with this node in the order in which they 459 * @return the comment and annotations associated with this node in the order in which they
460 * appeared in the original source 460 * appeared in the original source
461 */ 461 */
462 List<ASTNode> get sortedCommentAndAnnotations { 462 List<ASTNode> get sortedCommentAndAnnotations {
463 List<ASTNode> childList = new List<ASTNode>(); 463 List<ASTNode> childList = new List<ASTNode>();
464 childList.add(_comment); 464 childList.add(_comment);
465 childList.addAll(_metadata); 465 childList.addAll(_metadata);
466 List<ASTNode> children = new List.from(childList); 466 List<ASTNode> children = new List.from(childList);
467 children.sort(); 467 children.sort(ASTNode.LEXICAL_ORDER);
468 return children; 468 return children;
469 } 469 }
470 } 470 }
471 /** 471 /**
472 * Instances of the class {@code Annotation} represent an annotation that can be associated with an 472 * Instances of the class {@code Annotation} represent an annotation that can be associated with an
473 * AST node. 473 * AST node.
474 * <pre> 474 * <pre>
475 * metadata ::= 475 * metadata ::=
476 * annotation 476 * annotation
477 * annotation ::= 477 * annotation ::=
(...skipping 12840 matching lines...) Expand 10 before | Expand all | Expand 10 after
13318 return elements[elements.length - 1].endToken; 13318 return elements[elements.length - 1].endToken;
13319 } 13319 }
13320 /** 13320 /**
13321 * Return the node that is the parent of each of the elements in the list. 13321 * Return the node that is the parent of each of the elements in the list.
13322 * @return the node that is the parent of each of the elements in the list 13322 * @return the node that is the parent of each of the elements in the list
13323 */ 13323 */
13324 ASTNode getOwner() { 13324 ASTNode getOwner() {
13325 return owner; 13325 return owner;
13326 } 13326 }
13327 } 13327 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer_experimental/lib/src/generated/constant.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698