public class LambdaExpression extends Expression
| Constructor and Description |
|---|
LambdaExpression(List<LambdaArgumentDeclaration> arguments,
Expression body) |
LambdaExpression(NodeLocation location,
List<LambdaArgumentDeclaration> arguments,
Expression body) |
LambdaExpression(Optional<NodeLocation> location,
List<LambdaArgumentDeclaration> arguments,
Expression body) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(AstVisitor<R,C> visitor,
C context)
Accessible for
AstVisitor, use AstVisitor.process(Node, Object) instead. |
boolean |
equals(Object obj) |
List<LambdaArgumentDeclaration> |
getArguments() |
Expression |
getBody() |
List<Node> |
getChildren() |
int |
hashCode() |
toStringgetLocationpublic LambdaExpression(List<LambdaArgumentDeclaration> arguments, Expression body)
public LambdaExpression(NodeLocation location, List<LambdaArgumentDeclaration> arguments, Expression body)
public LambdaExpression(Optional<NodeLocation> location, List<LambdaArgumentDeclaration> arguments, Expression body)
public List<LambdaArgumentDeclaration> getArguments()
public Expression getBody()
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
ExpressionAstVisitor, use AstVisitor.process(Node, Object) instead.accept in class Expressionpublic List<Node> getChildren()
getChildren in class NodeCopyright © 2012–2023. All rights reserved.