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 |
---|---|
GoloFunction |
GoloFunction.asClosure() |
GoloFunction |
GoloFunction.block(java.lang.Object block)
Defines the contained block.
|
GoloFunction |
GoloFunction.createDecorator() |
protected GoloFunction |
TypeWithMembers.createFullArgsConstructor() |
GoloFunction |
GoloFunction.decoratedWith(java.lang.Object... decorators)
Adds decorators to this function.
|
GoloFunction |
GoloFunction.decorator() |
GoloFunction |
GoloFunction.decorator(boolean d) |
static GoloFunction |
GoloFunction.function(java.lang.Object name)
Creates a function declaration.
|
default GoloFunction |
FunctionContainer.getFunction(GoloFunction function) |
GoloFunction |
ClosureReference.getTarget() |
GoloFunction |
GoloFunction.inAugment() |
GoloFunction |
GoloFunction.inAugment(boolean isInAugment) |
GoloFunction |
GoloFunction.inScope(GoloFunction.Scope s) |
GoloFunction |
GoloFunction.local() |
GoloFunction |
GoloFunction.local(boolean isLocal) |
GoloFunction |
GoloFunction.name(java.lang.String n) |
GoloFunction |
GoloFunction.returns(java.lang.Object expression) |
GoloFunction |
GoloFunction.sameSignature()
Return a new function with the same signature as this one.
|
protected GoloFunction |
GoloFunction.self() |
GoloFunction |
GoloFunction.synthetic() |
GoloFunction |
GoloFunction.synthetic(boolean s) |
GoloFunction |
GoloFunction.varargs() |
GoloFunction |
GoloFunction.varargs(boolean isVarargs) |
GoloFunction |
GoloFunction.withParameters(java.util.Collection<?> names) |
GoloFunction |
GoloFunction.withParameters(java.lang.Object... names) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<GoloFunction> |
TypeWithMembers.createFactories()
Creates the factory functions for this type.
|
java.util.Set<GoloFunction> |
Struct.createFactories() |
java.util.List<GoloFunction> |
Augmentation.getFunctions() |
java.util.List<GoloFunction> |
FunctionContainer.getFunctions() |
java.util.List<GoloFunction> |
NamedAugmentation.getFunctions() |
java.util.List<GoloFunction> |
GoloModule.getFunctions() |
Modifier and Type | Method and Description |
---|---|
void |
Augmentation.addFunction(GoloFunction func)
Adds a function to this container.
|
void |
FunctionContainer.addFunction(GoloFunction func)
Adds a function to this container.
|
void |
NamedAugmentation.addFunction(GoloFunction func)
Adds a function to this container.
|
void |
GoloModule.addFunction(GoloFunction function)
Adds a function to this container.
|
default GoloFunction |
FunctionContainer.getFunction(GoloFunction function) |
void |
GoloIrVisitor.visitFunction(GoloFunction function) |
void |
AbstractGoloIrVisitor.visitFunction(GoloFunction function) |
void |
Visitors.DispatchIrVisitor.visitFunction(GoloFunction elt) |
void |
IrTreeDumper.visitFunction(GoloFunction function) |
Modifier and Type | Method and Description |
---|---|
default void |
FunctionContainer.addFunctions(java.util.Collection<GoloFunction> funcs) |
Modifier and Type | Method and Description |
---|---|
void |
ClosureCaptureGoloIrVisitor.visitFunction(GoloFunction function) |