public final class SightlyCompiler
extends java.lang.Object
The SightlyCompiler
interprets a HTL script and transforms it internally into a CommandStream
. The
CommandStream
can be fed to a BackendCompiler
for transforming the stream into executable code, either by
transpiling the commands to a JVM supported language or by directly executing them.
Constructor and Description |
---|
SightlyCompiler() |
Modifier and Type | Method and Description |
---|---|
CompilationResult |
compile(CompilationUnit compilationUnit)
Compiles a
CompilationUnit . |
CompilationResult |
compile(CompilationUnit compilationUnit,
BackendCompiler backendCompiler)
|
public CompilationResult compile(CompilationUnit compilationUnit)
CompilationUnit
.compilationUnit
- a compilation unitpublic CompilationResult compile(CompilationUnit compilationUnit, BackendCompiler backendCompiler)
compilationUnit
- a compilation unitbackendCompiler
- the backend compilerCopyright © 2010 - 2020 Adobe. All Rights Reserved