Interface Compiler

All Known Implementing Classes:
DefaultGroovyCompiler

public interface Compiler
Compiler.
Since:
1.0
Author:
Alain Stalder, Made in Switzerland.
  • Method Summary

    Modifier and Type
    Method
    Description
    compile(Sources sources)
    compiles the given sources to an instance of Code in memory.
  • Method Details

    • compile

      Code compile(Sources sources)
      compiles the given sources to an instance of Code in memory.
      Parameters:
      sources - sources
      Returns:
      compiled code
      Throws:
      CompileException - if compilation failed
      Since:
      1.0