public interface AssignmentPairs extends Term
Syntactically, that corresponds to either channels in RenameProcess,
or to variables in an assignment command. Semantically, it is also used to determine
which (process) state variables were updated, and in which order.
It represents two lists of equal size for the left and right hand sides.
Moreover, for RenameProcess, the RHS list can only contain
RefExpr, as channels might have generic actuals.
For state updates, the RHS may be a predicate, in which case it is given as
an SchExpr to operate upon the process state.
| Modifier and Type | Method and Description |
|---|---|
NameList |
getLHS()
Returns the LHS element.
|
ExprList |
getRHS()
Returns the RHS element.
|
ZNameList |
getZLHS()
This is a convenience method.
|
ZExprList |
getZRHS()
This is a convenience method.
|
void |
setLHS(NameList lHS)
Sets the LHS element.
|
void |
setRHS(ExprList rHS)
Sets the RHS element.
|
NameList getLHS()
void setLHS(NameList lHS)
lHS - the LHS element.getLHS()ExprList getRHS()
void setRHS(ExprList rHS)
rHS - the RHS element.getRHS()ZNameList getZLHS()
ZExprList getZRHS()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.