+ context.add_source_file (source_file);
+
+
+ //add_documented_files (context, settings.source_files);
+
+ Vala.Parser parser = new Vala.Parser ();
+ parser.parse (context);
+ //gir_parser.parse (context);
+ if (context.report.get_errors () > 0) {
+ print("parse got errors");
+ Vala.CodeContext.pop (context);
+ return;
+ }
+
+
+
+ // check context:
+ context.check ();
+ if (context.report.get_errors () > 0) {
+ print("check got errors");
+ Vala.CodeContext.pop (context);
+ return;
+ }
+ Vala.CodeContext.pop (context);
+ print("ALL OK?\n");
+ return;