Modifiers | Name | Description |
---|---|---|
protected static class |
ClosureWriter.CorrectAccessedVariableVisitor |
|
protected interface |
ClosureWriter.UseExistingReference |
Modifiers | Name | Description |
---|---|---|
static String |
OUTER_INSTANCE |
|
static String |
THIS_OBJECT |
Constructor and description |
---|
ClosureWriter
(WriterController wc) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected ConstructorNode |
addConstructor(ClosureExpression expression, Parameter[] localVariableParams, InnerClassNode answer, BlockStatement block) |
|
protected void |
addFieldsAndGettersForLocalVariables(InnerClassNode answer, Parameter[] localVariableParams) |
|
boolean |
addGeneratedClosureConstructorCall(ConstructorCallExpression call) |
|
protected BlockStatement |
createBlockStatementForConstructor(ClosureExpression expression) |
|
protected ClassNode |
createClosureClass(ClosureExpression expression, int mods) |
|
protected Parameter[] |
getClosureSharedVariables(ClosureExpression ce) |
|
ClassNode |
getOrAddClosureClass(ClosureExpression expression, int mods) |
|
static void |
loadReference(String name, WriterController controller) |
|
protected static void |
removeInitialValues(Parameter[] params) |
|
void |
writeClosure(ClosureExpression expression) |
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.