blob: 2d272571a59b6ddda96789a8b9987a70d7a9c4be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
\begin{diagram}{Constructors and destructors}{constuctdestruct}
\begin{mysyntdiag}
\synt{constructor\ declaration}
\synt{constructor\ header} \lit* ; \synt{subroutine\ block}
\end{mysyntdiag}
\begin{mysyntdiag}
\synt{destructor\ declaration}
\synt{destructor\ header} \lit* ; \synt{subroutine\ block}
\end{mysyntdiag}
\begin{mysyntdiag}
\synt{constructor\ header}
\lit*{constructor}
\begin{stack} \synt{identifier} \\ \synt{qualified\ method\ identifier} \end{stack}
\synt{formal\ parameter\ list}
\end{mysyntdiag}
\begin{mysyntdiag}
\synt{destructor\ header}
\lit*{destructor}
\begin{stack} \synt{identifier} \\ \synt{qualified\ method\ identifier} \end{stack}
\synt{formal\ parameter\ list}
\end{mysyntdiag}
\end{diagram}
|