public class OpAsgnNode extends Node
Modifier and Type | Field and Description |
---|---|
CallSite |
operatorCallAdapter |
CallSite |
variableAsgnCallAdapter |
CallSite |
variableCallAdapter |
Constructor and Description |
---|
OpAsgnNode(ISourcePosition position,
Node receiverNode,
Node valueNode,
String variableName,
String operatorName) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
NodeType |
getNodeType() |
String |
getOperatorName()
Gets the methodName.
|
Node |
getReceiverNode()
Gets the receiverNode.
|
Node |
getValueNode()
Gets the valueNode.
|
String |
getVariableName()
Gets the varibaleName.
|
String |
getVariableNameAsgn() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public final CallSite variableCallAdapter
public final CallSite operatorCallAdapter
public final CallSite variableAsgnCallAdapter
public OpAsgnNode(ISourcePosition position, Node receiverNode, Node valueNode, String variableName, String operatorName)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public String getOperatorName()
public Node getReceiverNode()
public Node getValueNode()
public String getVariableName()
public String getVariableNameAsgn()
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2014 JRuby. All Rights Reserved.