Vala.CodeContext context;
- public ValaSource(JsRender.Gtk file) {
+ public ValaSource(JsRender.JsRender file) {
base();
// init context:
context,
Vala.SourceFileType.SOURCE,
"~~~~~testfile.vala",
- file.toSource()
+ NodeToVala.mungeFile(file)
);
//context.add_source_file (testcode);
//
}
+}
int main (string[] args) {
- var a = new ValaSource(JsRender.);
+ var a = new ValaSource(file);
a.create_valac_tree();
return 0;
}