Interface Compiler
- All Known Implementing Classes:
ChainCompiler
public interface Compiler
Contract for a compiler: consume an input file and produce an output file.
-
Method Summary
-
Method Details
-
compile
Trigger the compilation process.- Parameters:
sourceFile- input file path.sinkFile- output file path.- Returns:
trueif at least oneERRORorFATALdiagnostic was reported;falseif compilation was clean.- Throws:
IOException- if an I/O error occurs.
-