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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/ast.dart

Issue 12838003: Rename analyzer-experimental to analyzer_experimental. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_experimental/lib/src/generated/ast.dart
diff --git a/pkg/analyzer-experimental/lib/src/generated/ast.dart b/pkg/analyzer_experimental/lib/src/generated/ast.dart
similarity index 99%
rename from pkg/analyzer-experimental/lib/src/generated/ast.dart
rename to pkg/analyzer_experimental/lib/src/generated/ast.dart
index 7f3e91a9bba445d4cf98e1bffd798e0cd0241237..b47c5766ddd9ea595fc6ca9f115ad07c29d03abf 100644
--- a/pkg/analyzer-experimental/lib/src/generated/ast.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/ast.dart
@@ -5547,7 +5547,7 @@ class FunctionTypeAlias extends TypeAlias {
*/
FunctionTypeAlias({Comment comment, List<Annotation> metadata, Token keyword, TypeName returnType, SimpleIdentifier name, TypeParameterList typeParameters, FormalParameterList parameters, Token semicolon}) : this.full(comment, metadata, keyword, returnType, name, typeParameters, parameters, semicolon);
accept(ASTVisitor visitor) => visitor.visitFunctionTypeAlias(this);
- TypeAliasElement get element => _name != null ? (_name.element as TypeAliasElement) : null;
+ FunctionTypeAliasElement get element => _name != null ? (_name.element as FunctionTypeAliasElement) : null;
/**
* Return the name of the function type being declared.
* @return the name of the function type being declared
@@ -7570,6 +7570,8 @@ class MethodInvocation extends Expression {
Token get beginToken {
if (_target != null) {
return _target.beginToken;
+ } else if (_period != null) {
+ return _period;
}
return _methodName.beginToken;
}
« no previous file with comments | « pkg/analyzer_experimental/lib/options.dart ('k') | pkg/analyzer_experimental/lib/src/generated/constant.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698