de.uni_paderborn.fujaba.codegen
Class OOAssignExpr

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.OOExpression
      extended byde.uni_paderborn.fujaba.codegen.OOAssignExpr

public class OOAssignExpr
extends OOExpression

Class OOAssignExpr

Version:
$Revision: 1.7 $

Associations

                                     1
 OOAssignExpr -------------------------> OOSingleExpr
                              leftExpr

                                     1
 OOAssignExpr -------------------------> OOAssignOp
                              assignOp

                                     1
 OOAssignExpr -------------------------> OOExpression
                             rightExpr
 
Author:
$Author: schneider $

Constructor Summary
OOAssignExpr(OOSingleExpr leftExpr, OOAssignOp assignOp, OOExpression rightExpr)
          Constructor for class OOAssignExpr
 
Method Summary
 OOAssignOp getAssignOp()
          Get the value of assignOp.
 OOSingleExpr getLeftExpr()
          Get the value of leftExpr.
 OOExpression getRightExpr()
          Get the value of rightExpr.
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOAssignExpr object
 void setAssignOp(OOAssignOp assignOp)
          Set the value of assignOp.
 void setLeftExpr(OOSingleExpr leftExpr)
          Set the value of leftExpr.
 void setRightExpr(OOExpression rightExpr)
          Set the value of rightExpr.
 java.lang.String toString()
           
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.OOExpression
addAll, removeYou, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OOAssignExpr

public OOAssignExpr(OOSingleExpr leftExpr,
                    OOAssignOp assignOp,
                    OOExpression rightExpr)
Constructor for class OOAssignExpr

Parameters:
leftExpr - No description provided
assignOp - No description provided
rightExpr - No description provided
Method Detail

getLeftExpr

public OOSingleExpr getLeftExpr()
Get the value of leftExpr.

Returns:
Value of leftExpr.

setLeftExpr

public void setLeftExpr(OOSingleExpr leftExpr)
Set the value of leftExpr.

Parameters:
leftExpr - Value to assign to leftExpr.

getRightExpr

public OOExpression getRightExpr()
Get the value of rightExpr.

Returns:
Value of rightExpr.

setRightExpr

public void setRightExpr(OOExpression rightExpr)
Set the value of rightExpr.

Parameters:
rightExpr - Value to assign to rightExpr.

getAssignOp

public OOAssignOp getAssignOp()
Get the value of assignOp.

Returns:
Value of assignOp.

setAssignOp

public void setAssignOp(OOAssignOp assignOp)
Set the value of assignOp.

Parameters:
assignOp - Value to assign to assignOp.

getSourceCode

public java.lang.String getSourceCode(OOGenVisitor visitor)
Get the sourceCode attribute of the OOAssignExpr object

Overrides:
getSourceCode in class OOExpression
Parameters:
visitor - No description provided
Returns:
The sourceCode value

toString

public java.lang.String toString()
Returns:
short string representation of current object