public abstract class Assignment extends Operator implements ExpressionStatement
| Constructor and Description | 
|---|
Assignment()  | 
Assignment(Expression lhs)
Unary Assignment (e.g. +=, ++). 
 | 
Assignment(Expression lhs,
          Expression rhs)
Assignment. 
 | 
Assignment(ExtList children)
Constructor for the transformation of COMPOST ASTs to KeY. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
KeYJavaType | 
getKeYJavaType(Services javaServ,
              ExecutionContext ec)
retrieves the type of the assignment expression 
 | 
boolean | 
isLeftAssociative()
Checks if this operator is left or right associative. 
 | 
java.lang.String | 
reuseSignature(Services services,
              ExecutionContext ec)
overriden from Operator 
 | 
getArguments, getArity, getChildAt, getChildCount, getExpressionAt, getExpressionCount, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getNotation, getPrecedence, isToBeParenthesized, precedescompatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, hashCode, prettyPrint, prettyPrintMaingetEndPosition, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComments, matchequalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPosition, prettyPrint, visitpublic Assignment()
public Assignment(ExtList children)
children - the children of this AST element as KeY classes.
 In this case the order of the children is IMPORTANT. 
        May contain:
                2 of Expression (the first Expression as left hand
                        side, the second as right hand side), 
                Commentspublic Assignment(Expression lhs)
lhs - an expression.public Assignment(Expression lhs, Expression rhs)
lhs - an expression.rhs - an expression.public boolean isLeftAssociative()
isLeftAssociative in class Operatortrue, if the operator is left associative,
        false otherwise.public KeYJavaType getKeYJavaType(Services javaServ, ExecutionContext ec)
getKeYJavaType in interface ExpressiongetKeYJavaType in class OperatorjavaServ - the Services offering access to the Java modelec - the ExecutionContext in which the expression is evaluatedpublic java.lang.String reuseSignature(Services services, ExecutionContext ec)
reuseSignature in class Operatorec - TODO