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, getVarNodeassign, createList, definition, getNodeName, getPosition, setPosition, toStringpublic LambdaNode(ISourcePosition position, ArgsNode args, Node body, StaticScope scope)
public NodeType getNodeType()
getNodeType in class IterNodepublic ArgsNode getArgs()
public Node getBody()
public Object accept(NodeVisitor visitor)
IterNodepublic List<Node> childNodes()
childNodes in class IterNodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2013 JRuby. All Rights Reserved.