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

Unified Diff: frog/scripts/tree_gen.py

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/presubmit.py ('k') | frog/tree.g.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/scripts/tree_gen.py
diff --git a/frog/scripts/tree_gen.py b/frog/scripts/tree_gen.py
index 10fd597d90c5d1603f9c1827a4357b7ce531d835..e1634ac0fbeeae3f8acfbdaeb0bf83d47bfe6557 100644
--- a/frog/scripts/tree_gen.py
+++ b/frog/scripts/tree_gen.py
@@ -97,12 +97,12 @@ nodes = [
Definition('Directive', 'Identifier name, List<ArgumentNode> arguments'),
Definition('Type',
- 'bool isClass, Identifier name, List<TypeParameter> typeParameters, '+
+ 'bool isClass, Identifier name, List<ParameterType> typeParameters, '+
'List<TypeReference> extendsTypes, List<TypeReference> implementsTypes,'+
'NativeType nativeType, TypeReference factoryType, List<Statement> body'),
Definition('FunctionType',
- 'FunctionDefinition func, List<TypeParameter> typeParameters'),
+ 'FunctionDefinition func, List<ParameterType> typeParameters'),
Definition('Variable',
'List<Token> modifiers, TypeReference type, List<Identifier> names,' +
@@ -110,8 +110,8 @@ nodes = [
Definition('Function',
'List<Token> modifiers, TypeReference returnType, Identifier name,' +
- 'List<FormalNode> formals, List<Expression> initializers,' +
- 'Statement body'),
+ 'List<FormalNode> formals, List<ParameterType> typeParameters,' +
+ 'List<Expression> initializers, Statement body'),
Statement('Return', 'Expression value'),
Statement('Throw', 'Expression value'),
« no previous file with comments | « frog/presubmit.py ('k') | frog/tree.g.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698