public class FlipNode extends Node
| Modifier and Type | Field and Description |
|---|---|
private Node |
beginNode |
private Node |
endNode |
private boolean |
exclusive |
private int |
location |
EMPTY_LIST| Constructor and Description |
|---|
FlipNode(ISourcePosition position,
Node beginNode,
Node endNode,
boolean exclusive,
int location) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
private static RubyBoolean |
falseIfTrue(Ruby runtime,
IRubyObject truish) |
Node |
getBeginNode()
Gets the beginNode.
|
int |
getDepth()
How many scopes should we burrow down to until we need to set the block variable value.
|
Node |
getEndNode()
Gets the endNode.
|
int |
getIndex()
Gets the index within the scope construct that actually holds the eval'd value
of this local variable
|
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
boolean |
isExclusive()
Gets the exclusive.
|
private static RubyBoolean |
trueIfTrue(Ruby runtime,
IRubyObject truish) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toStringprivate final Node beginNode
private final Node endNode
private final boolean exclusive
private final int location
public FlipNode(ISourcePosition position, Node beginNode, Node endNode, boolean exclusive, int location)
public NodeType getNodeType()
getNodeType in class Nodepublic java.lang.Object accept(NodeVisitor iVisitor)
public Node getBeginNode()
public Node getEndNode()
public boolean isExclusive()
public int getDepth()
public int getIndex()
public java.util.List<Node> childNodes()
childNodes in class Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
private static RubyBoolean trueIfTrue(Ruby runtime, IRubyObject truish)
private static RubyBoolean falseIfTrue(Ruby runtime, IRubyObject truish)