blob: 08e5ee5bd63ff1bf4b4c0b1cc6ecd310342fcf9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
\begin{diagram}{Protocol type}{protocoltype}
\begin{mysyntdiag}
\lit*{objcprotocol}
\begin{stack}\\
\lit*{external}
\begin{stack}\\ \lit*{name} \synt{string\ constant}
\end{stack}
\end{stack}
\begin{stack}\\ heritage \end{stack}
\begin{stack}
\synt{protocol\ method\ list}
\end{stack}
\lit*{end}
\end{mysyntdiag}
\begin{mysyntdiag}
\synt{heritage} \lit*(
\begin{rep}[b]
\synt{protocol\ type\ identifier} \\
\lit{,}
\end{rep}
\lit* )
\end{mysyntdiag}
\begin{mysyntdiag}
\synt{protocol\ method\ list}
\begin{rep}[b]
\begin{stack}\\
\lit*{required}\\
\lit*{optional}
\end{stack}
\begin{stack}
\synt{method\ definition} % \\
% \synt{property\ definition}
\end{stack} \\
\end{rep}
\end{mysyntdiag}
\end{diagram}
|