- org.codehaus.groovy.ast.expr.LambdaExpression
-
public class LambdaExpression
extends ClosureExpression
Represents a lambda expression such as one of these:
e -> e * 2
(x, y) -> x + y
(x, y) -> { x + y
(int x, int y) -> { x + y }
}
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class ClosureExpression |
getCode, getParameters, getText, getVariableScope, isParameterSpecified, setCode, setVariableScope, toString, transformExpression, visit |
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
-
-
Method Detail
-
public boolean isSerializable()
-
public void setSerializable(boolean serializable)
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.