public interface CallProcess extends CircusProcess
Circus process reference call. In other words, it permits a name to be a process. That is, it contains a reference name to lookup the process definition.
Moreover, it contains two list of expressions and an attribute defining the kind of call this
reference is related too. The first list is related to generic actuals, whereas the second list is
related to actual parameters or indexes.
An empty list of generic actuals means that refering process is not generic.
An empty list of expressions means a simple process call of the grammar rules N, N[Expr+],
where N is the process name.
If the list of expressions is not empty, then the CallUsage attribute defines if this is an indexed
process instantiation call, a parameterised process call.
It represents the grammar rules: N(Expr+), N lfloor Expr+ rfloor
The invariant is as follows: TODO: THIS COMMENT NEEDS UPDATE (See Parser.xml)
| Modifier and Type | Method and Description |
|---|---|
ExprList |
getActuals()
Returns the Actuals element.
|
RefExpr |
getCallExpr()
Returns the CallExpr element.
|
CallUsage |
getCallUsage()
Returns the CallUsage element.
|
ZExprList |
getZActuals()
This is a convenience method.
|
void |
setActuals(ExprList actuals)
Sets the Actuals element.
|
void |
setCallExpr(RefExpr callExpr)
Sets the CallExpr element.
|
void |
setCallUsage(CallUsage callUsage)
Sets the CallUsage element.
|
RefExpr getCallExpr()
void setCallExpr(RefExpr callExpr)
callExpr - the CallExpr element.getCallExpr()ExprList getActuals()
void setActuals(ExprList actuals)
actuals - the Actuals element.getActuals()CallUsage getCallUsage()
void setCallUsage(CallUsage callUsage)
callUsage - the CallUsage element.getCallUsage()ZExprList getZActuals()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.