edu.rice.cs.javalanglevels.tree
Class AssignmentExpression

java.lang.Object
  extended by edu.rice.cs.javalanglevels.tree.JExpression
      extended by edu.rice.cs.javalanglevels.tree.Expression
          extended by edu.rice.cs.javalanglevels.tree.AssignmentExpression
All Implemented Interfaces:
ForConditionI, JExpressionIF, VariableInitializerI
Direct Known Subclasses:
BitwiseAssignmentExpression, NumericAssignmentExpression, PlusAssignmentExpression, ShiftAssignmentExpression, SimpleAssignmentExpression

public abstract class AssignmentExpression
extends Expression

Class AssignmentExpression, a component of the JExpressionIF composite hierarchy. Note: null is not allowed as a value for any field.

Version:
Generated automatically by ASTGen at Sun Aug 28 23:01:27 CDT 2011

Constructor Summary
AssignmentExpression(SourceInfo in_sourceInfo, Expression in_name, Expression in_value)
          Constructs a AssignmentExpression.
 
Method Summary
protected abstract  int generateHashCode()
           
 Expression getName()
           
 Expression getValue()
           
abstract  void outputHelp(TabPrintWriter writer)
           
abstract  void visit(JExpressionIFVisitor_void visitor)
           
abstract
<RetType> RetType
visit(JExpressionIFVisitor<RetType> visitor)
           
 
Methods inherited from class edu.rice.cs.javalanglevels.tree.JExpression
getSourceInfo, hashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.rice.cs.javalanglevels.tree.JExpressionIF
getSourceInfo
 

Constructor Detail

AssignmentExpression

public AssignmentExpression(SourceInfo in_sourceInfo,
                            Expression in_name,
                            Expression in_value)
Constructs a AssignmentExpression.

Throws:
java.lang.IllegalArgumentException - If any parameter to the constructor is null.
Method Detail

getName

public Expression getName()

getValue

public Expression getValue()

visit

public abstract <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor)
Specified by:
visit in interface JExpressionIF
Specified by:
visit in class Expression

visit

public abstract void visit(JExpressionIFVisitor_void visitor)
Specified by:
visit in interface JExpressionIF
Specified by:
visit in class Expression

outputHelp

public abstract void outputHelp(TabPrintWriter writer)
Specified by:
outputHelp in interface JExpressionIF
Specified by:
outputHelp in class Expression

generateHashCode

protected abstract int generateHashCode()
Specified by:
generateHashCode in class Expression