Package | Description |
---|---|
gololang.ir |
Java package for golo IR tree elements.
|
org.eclipse.golo.compiler |
Provides access to the Golo compiler and supporting classes.
|
Modifier and Type | Method and Description |
---|---|
GoloModule |
GoloModule.add(GoloElement<?> element) |
static GoloModule |
GoloModule.create(PackageAndClass name,
ReferenceTable references) |
GoloModule |
GoloElement.enclosingModule()
Returns the module containing this element.
|
GoloModule |
GoloModule.enclosingModule()
Returns the module containing this element.
|
protected GoloModule |
GoloModule.self() |
GoloModule |
GoloModule.sourceFile(java.lang.String file) |
Modifier and Type | Method and Description |
---|---|
void |
GoloIrVisitor.visitModule(GoloModule module) |
void |
AbstractGoloIrVisitor.visitModule(GoloModule module) |
void |
Visitors.DispatchIrVisitor.visitModule(GoloModule elt) |
void |
IrTreeDumper.visitModule(GoloModule module) |
Modifier and Type | Method and Description |
---|---|
GoloModule |
GoloCompiler.check(ASTCompilationUnit compilationUnit)
Checks that the source code is minimally sound by converting a parse tree to an intermediate representation, and
running a few classic visitors over it.
|
GoloModule |
GoloCompiler.refine(GoloModule goloModule) |
GoloModule |
GoloCompiler.transform(ASTCompilationUnit compilationUnit) |
GoloModule |
ParseTreeToGoloIrVisitor.transform(ASTCompilationUnit compilationUnit,
GoloCompilationException.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CodeGenerationResult> |
GoloCompiler.generate(GoloModule goloModule,
java.lang.String goloSourceFilename) |
java.lang.Class<?> |
GoloClassLoader.load(java.lang.String goloSourceFilename,
GoloModule module)
Compiles and loads the resulting JVM bytecode for a Golo module IR.
|
GoloModule |
GoloCompiler.refine(GoloModule goloModule) |