public class WhenOneArgNode extends WhenNode
bodyNode, eqq, expressionNodesEMPTY_LIST| Constructor and Description |
|---|
WhenOneArgNode(ISourcePosition position,
Node expressionNode,
Node bodyNode,
Node nextCase) |
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
when(IRubyObject test,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
private IRubyObject |
whenNoTest(ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
private IRubyObject |
whenSlowTest(IRubyObject test,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
accept, childNodes, getBodyNode, getExpressionNodes, getNextCase, getNodeType, interpretassign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toStringpublic WhenOneArgNode(ISourcePosition position, Node expressionNode, Node bodyNode, Node nextCase)
private IRubyObject whenNoTest(ThreadContext context, Ruby runtime, IRubyObject self, Block aBlock)
private IRubyObject whenSlowTest(IRubyObject test, ThreadContext context, Ruby runtime, IRubyObject self, Block aBlock)
public IRubyObject when(IRubyObject test, ThreadContext context, Ruby runtime, IRubyObject self, Block aBlock)