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 |
---|---|
Block |
Block.add(java.lang.Object statement)
Add a statement to this block.
|
static Block |
Block.block(java.lang.Object... statements)
Creates a block containing the given statements.
|
static Block |
Block.empty()
Create an empty block.
|
Block |
ClosureReference.getBlock()
Delegates on the wrapped target.
|
Block |
ForEachLoopStatement.getBlock() |
Block |
LoopStatement.getBlock() |
Block |
BlockContainer.getBlock() |
Block |
GoloFunction.getBlock() |
Block |
TryCatchFinally.getCatchBlock() |
Block |
ConditionalBranching.getFalseBlock() |
Block |
TryCatchFinally.getFinallyBlock() |
Block |
CaseStatement.getOtherwise() |
Block |
ConditionalBranching.getTrueBlock() |
Block |
TryCatchFinally.getTryBlock() |
Block |
Block.map(FunctionReference fun)
Creates a new block by applying the given function to the elements of this block.
|
static Block |
Block.of(java.lang.Object block)
Block coercion.
|
Block |
Block.prepend(java.lang.Object statement) |
Block |
Block.ref(java.lang.Object referenceTable)
Define the reference table of this block.
|
protected Block |
Block.self() |
Modifier and Type | Method and Description |
---|---|
java.util.List<WhenClause<Block>> |
CaseStatement.getClauses() |
Modifier and Type | Method and Description |
---|---|
void |
Block.merge(Block other)
Merge two blocks.
|
void |
GoloIrVisitor.visitBlock(Block block) |
void |
AbstractGoloIrVisitor.visitBlock(Block block) |
void |
Visitors.DispatchIrVisitor.visitBlock(Block elt) |
void |
IrTreeDumper.visitBlock(Block block) |
Modifier and Type | Method and Description |
---|---|
void |
ClosureCaptureGoloIrVisitor.visitBlock(Block block) |