public interface BasicProcess extends CircusProcess
A process definition for an explicit process declaration. It is formed by a (possibly empty) set of process paragraphs, an optional process state given as a schema and a (mandatory) main action definition.
It represents the grammar rule begin PParagraph* state Schema-Exp PParagraph*
@ Action end.
For the process state, the corresponding action (as a SchExprAction) or Z paragraph (as a Schema or HorizontalDef)
must contain a CircusStateAnn annotation.
| Modifier and Type | Method and Description |
|---|---|
List<? extends Para> |
getLocalPara()
This is a convenience method.
|
CircusAction |
getMainAction()
This is a convenience method.
|
List<? extends Para> |
getOnTheFlyPara()
This is a convenience method.
|
ParaList |
getParaList()
Returns the ParaList element.
|
AxPara |
getStatePara()
This is a convenience method.
|
Name |
getStateParaName()
This is a convenience method.
|
ZName |
getStateParaZName()
This is a convenience method.
|
ZParaList |
getZParaList()
This is a convenience method.
|
boolean |
isDefaultState()
Returns true iff getStatePara() != null and the result is the default state paragraph
as created by the parser.
|
boolean |
isMainActionValid() |
boolean |
isStateValid()
This method checks whether the state paragraph is valid.
|
void |
setParaList(ParaList paraList)
Sets the ParaList element.
|
ParaList getParaList()
void setParaList(ParaList paraList)
paraList - the ParaList element.getParaList()AxPara getStatePara()
boolean isStateValid()
boolean isDefaultState()
CircusAction getMainAction()
boolean isMainActionValid()
List<? extends Para> getLocalPara()
List<? extends Para> getOnTheFlyPara()
ZParaList getZParaList()
Name getStateParaName()
ZName getStateParaZName()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.