public class LambdaNode extends IterNode
containsVariableAssignment, newline
Constructor and Description |
---|
LambdaNode(ISourcePosition position,
ArgsNode args,
Node body,
StaticScope scope,
int endLine) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> visitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
ArgsNode |
getArgs() |
Node |
getBody() |
NodeType |
getNodeType() |
getArgsNode, getBodyNode, getEndLine, getScope, getVarNode
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public LambdaNode(ISourcePosition position, ArgsNode args, Node body, StaticScope scope, int endLine)
public NodeType getNodeType()
getNodeType
in class IterNode
public ArgsNode getArgs()
public Node getBody()
public <T> T accept(NodeVisitor<T> visitor)
IterNode
public java.util.List<Node> childNodes()
childNodes
in class IterNode
Copyright © 2001-2020 JRuby. All Rights Reserved.