\begin{diagram}{Exports clause}{ExportClause}
\begin{mysyntdiag}
\synt{exports\ clause}
\lit*{exports} 
\synt{exports\ list}
\lit*{;}
\end{mysyntdiag}
\begin{mysyntdiag}
\synt{exports\ list}
\begin{rep}[b] \synt{exports\ entry} \\ \lit* , \end{rep}
\end{mysyntdiag}
\begin{mysyntdiag}
\synt{exports\ entry}
\synt{identifier} 
\begin{stack}\\ \lit*{index} \synt{integer\ constant} \end{stack}
\begin{stack}\\ \lit*{name} \synt{string\ constant} \end{stack}
\end{mysyntdiag}
\end{diagram}
