public interface SigmaExpr extends Expr
Expression for channel selections, such as c.x or c.true for channel c. It is set of pairs, where the first element is the channel reference and the second element is the expression corresponding to the value to be communicaticated. The channel reference is a RefExpr, as channel can contain generic actuals. It denotes set of the all the possible values a channel can communicate.
These expressions require special typechecking to ensure that elements are well typed with respect to the (RefExpr X Expr) pair, rather than the structure of the expressions. That is, SigmaExpr unify even when the expression have different types, so that we can create the Sigma environment.
| Modifier and Type | Method and Description |
|---|---|
RefExpr |
getChannel()
Returns the Channel element.
|
Expr |
getValue()
Returns the Value element.
|
void |
setChannel(RefExpr channel)
Sets the Channel element.
|
void |
setValue(Expr value)
Sets the Value element.
|
RefExpr getChannel()
void setChannel(RefExpr channel)
channel - the Channel element.getChannel()Expr getValue()
void setValue(Expr value)
value - the Value element.getValue()Copyright © 2003–2016 Community Z Tools Project. All rights reserved.