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

Unified Diff: client/dom/scripts/idlrenderer.dart

Issue 8384029: Work-arounds for missing and broken Frog functionality. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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 | « client/dom/scripts/idlparser.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/idlrenderer.dart
diff --git a/client/dom/scripts/idlrenderer.dart b/client/dom/scripts/idlrenderer.dart
index 4b81f0e7db87d9f0f8b28d32d54cde602824ecff..e62c4a77fc4731a81fadfb157916c83f13eae8a2 100644
--- a/client/dom/scripts/idlrenderer.dart
+++ b/client/dom/scripts/idlrenderer.dart
@@ -21,8 +21,7 @@ render(idl_node, [indent_str=' ']) {
var output = [''];
var indent_stack = [];
- //indented(action()) {
- indented(action) {
+ indented(action) { // TODO: revert to indented(action()) {
indent_stack.add(indent_str);
action();
indent_stack.removeLast();
@@ -32,7 +31,7 @@ render(idl_node, [indent_str=' ']) {
var w; // For some reason mutually recursive local functions don't work.
- wln([node=null]) {
+ wln([node]) {
w(node);
output.add('\n');
}
@@ -135,10 +134,10 @@ render(idl_node, [indent_str=' ']) {
} else if (node is IDLAttribute) {
w(node.annotations);
w(node.extAttrs);
- if (node.isFcGetter)
- w('getter ');
- if (node.isFcSetter)
- w('setter ');
+ //if (node.isFcGetter)
+ // w('getter ');
+ //if (node.isFcSetter)
+ // w('setter ');
wln('attribute ${node.type.id} ${node.id};');
} else if (node is IDLConstant) {
w(node.annotations);
« no previous file with comments | « client/dom/scripts/idlparser.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698