public class Compiler
extends java.lang.Object
| Constructor and Description |
|---|
Compiler()
Create new compiler.
|
| Modifier and Type | Method and Description |
|---|---|
Output |
compile(Context context)
Compile context.
|
Output |
compile(FileContext context)
Compile file.
|
Output |
compile(StringContext context)
Compile a string context.
|
Output |
compileFile(java.net.URI inputPath,
java.net.URI outputPath,
Options options)
Compile file.
|
Output |
compileString(java.lang.String string,
Options options)
Compile string.
|
Output |
compileString(java.lang.String string,
java.net.URI inputPath,
java.net.URI outputPath,
Options options)
Compile string.
|
public Output compileString(java.lang.String string, Options options) throws CompilationException
string - The input string.options - The compile options.CompilationException - If the compilation failed.public Output compileString(java.lang.String string, java.net.URI inputPath, java.net.URI outputPath, Options options) throws CompilationException
string - The input string.inputPath - The input path.outputPath - The output path.options - The compile options.CompilationException - If the compilation failed.public Output compileFile(java.net.URI inputPath, java.net.URI outputPath, Options options) throws CompilationException
inputPath - The input path.outputPath - The output path.options - The compile options.CompilationException - If the compilation failed.public Output compile(Context context) throws CompilationException
context - The context.UnsupportedContextException - If the given context is not supported.CompilationException - If the compilation failed.public Output compile(StringContext context) throws CompilationException
context - The string context.CompilationException - If the compilation failed.public Output compile(FileContext context) throws CompilationException
context - The file context.CompilationException - If the compilation failed.