- public override void setSource(string str) {}
-
- public override string toSource()
- {
-
-
- if (this.tree == null) {
- return "";
- }
-
- // var data = JSON.parse(JSON.stringify(this.items[0]));
- // we should base this on the objects in the tree really..
- string[] inc = { "Gtk", "Gdk", "Pango", "GLib", "Gio", "GObject",
- "GtkSource", "WebKit", "Vte" }; //, "GtkClutter" , "Gdl"];
- var src = "";
+ public override void setSource(string str) {}
+
+ public override string toSourceCode() // no seed support currently.
+ {
+ return NodeToVala.mungeFile(this);
+ }
+
+ // this is only used by dumping code...
+ public override string toSource() // no seed support currently.
+ {
+
+
+ /*
+ if (this.tree == null) {
+ return "";
+ }
+
+ // var data = JSON.parse(JSON.stringify(this.items[0]));
+ // we should base this on the objects in the tree really..
+ string[] inc = { "Gtk", "Gdk", "Pango", "GLib", "Gio", "GObject",
+ "GtkSource", "WebKit", "Vte" }; //, "GtkClutter" , "Gdl"];
+ var src = "";