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