public class LambdaNode extends IterNode
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() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
getArgumentType, getBlockBody, getBlockVarNode, getBodyNode, getScope, getVarNode
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
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
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2016 JRuby. All Rights Reserved.