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

Unified Diff: frog/tree.g.dart

Issue 9464006: Fix for issue 1835: record the 'final' information in the DeclaredIdentifier. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « frog/scripts/tree_gen.py ('k') | tests/language/language-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tree.g.dart
===================================================================
--- frog/tree.g.dart (revision 4560)
+++ frog/tree.g.dart (working copy)
@@ -485,8 +485,9 @@
class DeclaredIdentifier extends Expression {
TypeReference type;
Identifier name;
+ bool isFinal;
- DeclaredIdentifier(this.type, this.name, SourceSpan span): super(span) {}
+ DeclaredIdentifier(this.type, this.name, this.isFinal, SourceSpan span): super(span) {}
visit(TreeVisitor visitor) => visitor.visitDeclaredIdentifier(this);
}
@@ -925,6 +926,7 @@
output.heading('DeclaredIdentifier', node.span);
output.writeNode('type', node.type);
output.writeNode('name', node.name);
+ output.writeValue('isFinal', node.isFinal);
}
}
« no previous file with comments | « frog/scripts/tree_gen.py ('k') | tests/language/language-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698