public class OpElementAsgnNode extends Node
a[4] += 5 a[3] &&= true
Modifier and Type | Field and Description |
---|---|
CallSite |
callAdapter |
CallSite |
elementAdapter |
CallSite |
elementAsgnAdapter |
Constructor and Description |
---|
OpElementAsgnNode(ISourcePosition position,
Node receiverNode,
String operatorName,
Node argsNode,
Node valueNode) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getArgsNode()
Gets the argsNode.
|
NodeType |
getNodeType() |
String |
getOperatorName()
Gets the operatorName.
|
Node |
getReceiverNode()
Gets the receiverNode.
|
Node |
getValueNode()
Gets the valueNode.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
boolean |
isAnd() |
boolean |
isOr() |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public final CallSite callAdapter
public final CallSite elementAdapter
public final CallSite elementAsgnAdapter
public OpElementAsgnNode(ISourcePosition position, Node receiverNode, String operatorName, Node argsNode, Node valueNode)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public Node getArgsNode()
public String getOperatorName()
public Node getReceiverNode()
public boolean isOr()
public boolean isAnd()
public Node getValueNode()
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2016 JRuby. All Rights Reserved.