mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-05 10:05:58 +02:00
Added library syntax
This commit is contained in:
parent
150ba339ac
commit
09edf66840
18
docs/syntax/exports.syn
Normal file
18
docs/syntax/exports.syn
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
\begin{diagram}{Exports clause}{ExportClause}
|
||||||
|
\begin{mysyntdiag}
|
||||||
|
\synt{exports\ clause}
|
||||||
|
\lit*{exports}
|
||||||
|
\synt{exports\ list}
|
||||||
|
\lit*{;}
|
||||||
|
\end{mysyntdiag}
|
||||||
|
\begin{mysyntdiag}
|
||||||
|
\synt{exports\ list}
|
||||||
|
\<[b] \synt{exports\ entry} \\ \lit* , \>
|
||||||
|
\end{mysyntdiag}
|
||||||
|
\begin{mysyntdiag}
|
||||||
|
\synt{exports\ entry}
|
||||||
|
\synt{identifier}
|
||||||
|
\[ \lit*{index} \synt{integer\ constant} \]
|
||||||
|
\[ \lit*{name} \synt{string\ constant} \]
|
||||||
|
\end{mysyntdiag}
|
||||||
|
\end{diagram}
|
14
docs/syntax/library.syn
Normal file
14
docs/syntax/library.syn
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
\begin{diagram}{Libraries}{libraries}
|
||||||
|
\begin{mysyntdiag}
|
||||||
|
\synt{library}
|
||||||
|
\synt{library\ header}
|
||||||
|
\lit* ;
|
||||||
|
\[ \synt{uses\ clause} \]
|
||||||
|
\synt{block}
|
||||||
|
\lit* .
|
||||||
|
\end{mysyntdiag}
|
||||||
|
\begin{mysyntdiag}
|
||||||
|
\synt{library\ header}
|
||||||
|
\lit*{library} \synt{identifier}
|
||||||
|
\end{mysyntdiag}
|
||||||
|
\end{diagram}
|
Loading…
Reference in New Issue
Block a user