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

Unified Diff: frog/tree.g.dart

Issue 8681027: Fix bug 578 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: prereviewed Created 9 years, 1 month 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
« no previous file with comments | « frog/scripts/tree_gen.py ('k') | frog/type.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tree.g.dart
diff --git a/frog/tree.g.dart b/frog/tree.g.dart
index 40f697950c97e55ef97784361d8e1d4acb0e5f65..a21df4a2e6fc7b6a5367f5bb9dfc3e477434d535 100644
--- a/frog/tree.g.dart
+++ b/frog/tree.g.dart
@@ -15,7 +15,7 @@ class DirectiveDefinition extends Definition {
class TypeDefinition extends Definition {
bool isClass;
Identifier name;
- List<TypeParameter> typeParameters;
+ List<ParameterType> typeParameters;
List<TypeReference> extendsTypes;
List<TypeReference> implementsTypes;
NativeType nativeType;
@@ -29,7 +29,7 @@ class TypeDefinition extends Definition {
class FunctionTypeDefinition extends Definition {
FunctionDefinition func;
- List<TypeParameter> typeParameters;
+ List<ParameterType> typeParameters;
FunctionTypeDefinition(this.func, this.typeParameters, SourceSpan span): super(span) {}
@@ -52,10 +52,11 @@ class FunctionDefinition extends Definition {
TypeReference returnType;
Identifier name;
List<FormalNode> formals;
+ List<ParameterType> typeParameters;
List<Expression> initializers;
Statement body;
- FunctionDefinition(this.modifiers, this.returnType, this.name, this.formals, this.initializers, this.body, SourceSpan span): super(span) {}
+ FunctionDefinition(this.modifiers, this.returnType, this.name, this.formals, this.typeParameters, this.initializers, this.body, SourceSpan span): super(span) {}
visit(TreeVisitor visitor) => visitor.visitFunctionDefinition(this);
}
@@ -621,6 +622,7 @@ class TreePrinter implements TreeVisitor {
output.writeNode('returnType', node.returnType);
output.writeNode('name', node.name);
output.writeNodeList('formals', node.formals);
+ output.writeList('typeParameters', node.typeParameters);
output.writeNodeList('initializers', node.initializers);
output.writeNode('body', node.body);
}
« no previous file with comments | « frog/scripts/tree_gen.py ('k') | frog/type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698