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

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

Issue 12604020: analyzer_experimental checkpoint and AnalysisContext example. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't mark Source as 'changed'. Created 7 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
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 7397 matching lines...) Expand 10 before | Expand all | Expand 10 after
7408 Token get propertyKeyword => _propertyKeyword; 7408 Token get propertyKeyword => _propertyKeyword;
7409 /** 7409 /**
7410 * Return the return type of the method, or {@code null} if no return type was declared. 7410 * Return the return type of the method, or {@code null} if no return type was declared.
7411 * @return the return type of the method 7411 * @return the return type of the method
7412 */ 7412 */
7413 TypeName get returnType => _returnType; 7413 TypeName get returnType => _returnType;
7414 /** 7414 /**
7415 * Return {@code true} if this method is declared to be an abstract method. 7415 * Return {@code true} if this method is declared to be an abstract method.
7416 * @return {@code true} if this method is declared to be an abstract method 7416 * @return {@code true} if this method is declared to be an abstract method
7417 */ 7417 */
7418 bool isAbstract() => _modifierKeyword != null && identical(((_modifierKeyword as KeywordToken)).keyword, Keyword.ABSTRACT); 7418 bool isAbstract() => _externalKeyword == null && (_body is EmptyFunctionBody);
7419 /** 7419 /**
7420 * Return {@code true} if this method declares a getter. 7420 * Return {@code true} if this method declares a getter.
7421 * @return {@code true} if this method declares a getter 7421 * @return {@code true} if this method declares a getter
7422 */ 7422 */
7423 bool isGetter() => _propertyKeyword != null && identical(((_propertyKeyword as KeywordToken)).keyword, Keyword.GET); 7423 bool isGetter() => _propertyKeyword != null && identical(((_propertyKeyword as KeywordToken)).keyword, Keyword.GET);
7424 /** 7424 /**
7425 * Return {@code true} if this method declares an operator. 7425 * Return {@code true} if this method declares an operator.
7426 * @return {@code true} if this method declares an operator 7426 * @return {@code true} if this method declares an operator
7427 */ 7427 */
7428 bool isOperator() => _operatorKeyword != null; 7428 bool isOperator() => _operatorKeyword != null;
(...skipping 5581 matching lines...) Expand 10 before | Expand all | Expand 10 after
13010 return elements[elements.length - 1].endToken; 13010 return elements[elements.length - 1].endToken;
13011 } 13011 }
13012 /** 13012 /**
13013 * Return the node that is the parent of each of the elements in the list. 13013 * Return the node that is the parent of each of the elements in the list.
13014 * @return the node that is the parent of each of the elements in the list 13014 * @return the node that is the parent of each of the elements in the list
13015 */ 13015 */
13016 ASTNode getOwner() { 13016 ASTNode getOwner() {
13017 return owner; 13017 return owner;
13018 } 13018 }
13019 } 13019 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698