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