public interface AxPara extends Para
\begin{axdef} x,y: \nat \where x \neq y \end{axdef}
\begin{gendef}[T] x,y: T \where x \neq y \end{gendef}
both translate into an AxPara with Box=AxBox and SchText containing
the declaration of x and y, and the predicate x \neq y. For the axdef
example, NameList is empty, whereas for the gendef example it
contains T.
\begin{schema}{S} x,y: \nat \where x \neq y \end{schema}
is translated into a nongeneric AxPara (see 12.2.3.1 or C.4.4.2)
whose SchText contains a single ConstDecl, S == [x,y:\nat | x \neq y].
A generic schema definition is similar but has a non empty NameList
(see 12.2.3.2 or C.4.6.2).
\begin{zed}S == [x,y: \nat | x \neq y]\end{zed}
is translated into a nongeneric AxPara (see 12.2.3.3 or C.4.7.2)
whose SchText contains a single ConstDecl, S == [x,y:\nat | x \neq y].
A generic horizontal definition is similar but has a non empty
NameList (see 12.2.3.4 or C.4.8.2).
Modifier and Type | Method and Description |
---|---|
Box |
getBox()
Returns the Box element.
|
ZNameList |
getName() |
NameList |
getNameList()
Returns the NameList element.
|
SchText |
getSchText()
Returns the SchText element.
|
ZNameList |
getZNameList()
This is a convenience method.
|
ZSchText |
getZSchText()
This is a convenience method.
|
void |
setBox(Box box)
Sets the Box element.
|
void |
setNameList(NameList nameList)
Sets the NameList element.
|
void |
setSchText(SchText schText)
Sets the SchText element.
|
NameList getNameList()
ZNameList getZNameList()
void setNameList(NameList nameList)
nameList
- the NameList element.getNameList()
SchText getSchText()
void setSchText(SchText schText)
schText
- the SchText element.getSchText()
Box getBox()
void setBox(Box box)
box
- the Box element.getBox()
ZSchText getZSchText()
ZNameList getName()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.