1 /** XelfiCompilerMain class
2 * @author: Filip Dvorak
6 package xelfi.compiler;
11 class XelfiCompilerMain extends Object implements MainCompiler
13 /** Output from compiler is send here. */
14 protected XelfiCompilerOutput out;
16 XelfiCompilerMain(XelfiCompilerOutput o)
21 public void compileClass(File file)
24 if(CompilerOptions.getUseGparam())
28 args[1] = file.toString();
29 output("Compiling: " + args[0] + " " + args[1]);
34 args[0] = file.toString();
35 output("Compiling: " + args[0]);
41 public void error(String err)
43 out.topLevelError(err);
46 public void output(String msg)
48 out.topLevelOutput(msg);