Interface CompilationResult
-
@ProviderType public interface CompilationResultThis class encapsulates the result of a compile operation performed by theSightlyCompiler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandStreamgetCommandStream()Provides access to the generatedCommandStreamfor evaluating / replaying theCommands after the compile operation.java.util.List<CompilerMessage>getErrors()Provides the list of errors recorded during the compilation.java.util.List<CompilerMessage>getWarnings()Provides the list of warnings recorded during the compilation.
-
-
-
Method Detail
-
getCommandStream
CommandStream getCommandStream()
Provides access to the generatedCommandStreamfor evaluating / replaying theCommands after the compile operation.- Returns:
- the command stream generated by the compiler
-
getWarnings
java.util.List<CompilerMessage> getWarnings()
Provides the list of warnings recorded during the compilation.- Returns:
- the list of warnings; the list can be empty if no warnings have been emitted
-
getErrors
java.util.List<CompilerMessage> getErrors()
Provides the list of errors recorded during the compilation.- Returns:
- the list of errors; the list can be empty if no errors have been encountered
-
-