1
\begin{diagram}{Class types}{classtype}
3
\begin{stack}\\ \lit*{packed} \end{stack}
5
\begin{stack}\\ heritage \end{stack}
8
\synt{component\ list} \\
9
\synt{class\ visibility\ specifier}
15
\synt{heritage} \lit*( \synt{class\ type\ identifier} \lit* )
18
\synt{component\ list}
19
\begin{stack}\\ \begin{rep}[b] \synt{field\ definition} \\ \end{rep} \end{stack}
23
\synt{method\ definition} \\
24
\synt{property\ definition}
30
\synt{field\ definition} \synt{identifier\ list} \lit*: \synt{type} \lit*;
33
\synt{method\ definition}
39
\synt{function\ header} \\
40
\synt{procedure\ header}
42
\synt{constructor\ header} \\
43
\synt{desctuctor\ header}
47
\begin{stack} \lit*{virtual} \begin{stack}\\ \lit*; \lit*{abstract} \end{stack} \\
50
\begin{stack} \synt{integer\ constant} \\
51
\synt{string\ constant} \end{stack}
55
\begin{stack}\\ \synt{call\ modifiers} \lit*; \end{stack}
58
\synt{class\ visibility\ specifier}