org.jruby.ast
Class OpElementAsgnNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.OpElementAsgnNode
All Implemented Interfaces:
INode, java.io.Serializable

public class OpElementAsgnNode
extends AbstractNode

Represents an operator assignment to an element. This could be for example:

 a[4] += 5
 a[3] &&= true
 

Version:
$Revision: 1.4 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
OpElementAsgnNode(ISourcePosition position, INode receiverNode, java.lang.String operatorName, INode argsNode, INode valueNode)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 INode getArgsNode()
          Gets the argsNode.
 java.lang.String getOperatorName()
          Gets the operatorName.
 INode getReceiverNode()
          Gets the receiverNode.
 INode getValueNode()
          Gets the valueNode.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpElementAsgnNode

public OpElementAsgnNode(ISourcePosition position,
                         INode receiverNode,
                         java.lang.String operatorName,
                         INode argsNode,
                         INode valueNode)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Accept for the visitor pattern.

Parameters:
iVisitor - the visitor

getArgsNode

public INode getArgsNode()
Gets the argsNode.

Returns:
Returns a INode

getOperatorName

public java.lang.String getOperatorName()
Gets the operatorName.

Returns:
Returns a String

getReceiverNode

public INode getReceiverNode()
Gets the receiverNode.

Returns:
Returns a INode

getValueNode

public INode getValueNode()
Gets the valueNode.

Returns:
Returns a INode


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.