Represents the context of an enclosing closure. An enclosing closure wraps a closure expression and the list of return types found in the closure body.
Constructor and description |
---|
TypeCheckingContext.EnclosingClosure
(ClosureExpression closureExpression) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addReturnType(ClassNode type) |
|
ClosureExpression |
getClosureExpression() |
|
List<ClassNode> |
getReturnTypes() |
|
String |
toString() |
Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.