Package | Description |
---|---|
org.eclipse.golo.cli.command.spi |
(this is an internal API)
|
org.eclipse.golo.compiler |
Provides access to the Golo compiler and supporting classes.
|
Modifier and Type | Method and Description |
---|---|
default void |
CliCommand.handleCompilationException(GoloCompilationException e) |
default void |
CliCommand.handleCompilationException(GoloCompilationException e,
boolean exit) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CodeGenerationResult> |
GoloCompiler.compile(java.lang.String goloSourceFilename,
java.io.InputStream sourceCodeInputStream)
Compiles a Golo source file from an input stream, and returns a collection of results.
|
void |
GoloCompiler.compileTo(java.lang.String goloSourceFilename,
java.io.InputStream sourceCodeInputStream,
java.io.File targetFolder)
Compiles a Golo source file and writes the resulting JVM bytecode
.class files to a target
folder. |
void |
GoloCompilationException.Builder.doThrow()
Stops adding problems and throws the exception,
|
GoloParser |
GoloCompiler.initParser(java.lang.String goloSourceFilename,
java.io.InputStream sourceCodeInputStream)
Initializes a parser from an input stream.
|
java.lang.Class<?> |
GoloClassLoader.load(java.lang.String goloSourceFilename,
java.io.InputStream sourceCodeInputStream)
Compiles and loads the resulting JVM bytecode for a Golo source file.
|
ASTCompilationUnit |
GoloCompiler.parse(java.lang.String goloSourceFilename) |
ASTCompilationUnit |
GoloCompiler.parse(java.lang.String goloSourceFilename,
GoloParser parser)
Produces a parse tree for a Golo source file.
|