org.problets.domain.model.expression.node.operator.assignment
Interface Assignable

All Known Implementing Classes:
PrefixAssignment, PrefixDecrement, PrefixIncrement, VarOperand

public interface Assignable

Interface to enable prefix assignment operators to be concatenable in C++

Since:
4 / 11 / 2008
Author:
Amruth Kumar

Method Summary
 boolean canAssign()
          Returns whether this is assignable in the current context
 AbstractVarModel getClone()
          Returns a clone of the variable to which a value is being assigned
 AbstractVarModel getVarReference()
          Returns the variable to which a value can be assigned
 void setVarValue(Value inValue)
          Sets the value of the variable
 

Method Detail

canAssign

boolean canAssign()
Returns whether this is assignable in the current context


getVarReference

AbstractVarModel getVarReference()
Returns the variable to which a value can be assigned


getClone

AbstractVarModel getClone()
Returns a clone of the variable to which a value is being assigned


setVarValue

void setVarValue(Value inValue)
Sets the value of the variable