| Package | Description | 
|---|---|
| gololang | 
 Provides the top-level Golo support classes. 
 | 
| gololang.ir | 
 Java package for golo IR tree elements. 
 | 
| org.eclipse.golo.compiler | 
 Provides access to the Golo compiler and supporting classes. 
 | 
| org.eclipse.golo.compiler.macro | 
 Provides support to hygienic compilation macros. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static GoloElement<?> | 
Predefined.contextual(GoloFunction fun)
Macro to define a contextual macro. 
 | 
static GoloElement<?> | 
Predefined.special(GoloFunction fun)
Macro to define a special macro. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
GoloFunction | 
GoloFunction.asClosure()  | 
GoloFunction | 
GoloFunction.asMacro()  | 
GoloFunction | 
GoloFunction.asMacro(boolean value)  | 
GoloFunction | 
GoloFunction.block(java.lang.Object block)
Defines the contained block. 
 | 
GoloFunction | 
GoloFunction.contextual(boolean value)  | 
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.special(boolean value)  | 
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() | 
default java.util.Iterator<GoloFunction> | 
FunctionContainer.iterator()  | 
| 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)  | 
void | 
SugarExpansionVisitor.visitFunction(GoloFunction function)  | 
void | 
LocalReferenceAssignmentAndVerificationVisitor.visitFunction(GoloFunction function)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MacroExpansionIrVisitor.visitFunction(GoloFunction function)  |