| 1 | <refentry id="production.element" revision='EBNF'> |
| 2 | <?dbhtml filename="production.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>production</secondary></indexterm> |
| 11 | <refentrytitle>production</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>production</refname> |
| 16 | <refpurpose>&production.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &production.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para>This element is only available if you are using the |
| 23 | <link linkend="ebnf.module">EBNF Module</link>.</para> |
| 24 | |
| 25 | <para>A <sgmltag>Production</sgmltag> is single production in an |
| 26 | <glossterm>Extended Backus-Naur Form</glossterm> (EBNF) grammar.</para> |
| 27 | |
| 28 | <para>Individual productions have two parts, a left hand side |
| 29 | (<sgmltag>lhs</sgmltag>) and a right hand side |
| 30 | (<sgmltag>rhs</sgmltag>). Each <sgmltag>NonTerminal</sgmltag> |
| 31 | on the left hand side is defined in terms of other |
| 32 | non-terminals and literals on the right hand side.</para> |
| 33 | |
| 34 | |
| 35 | &production.parents.gen; |
| 36 | &production.children.gen; |
| 37 | </refsect1> |
| 38 | <refsect1><title>Examples</title> |
| 39 | |
| 40 | &production.example.seealso.gen; |
| 41 | </refsect1> |
| 42 | </refentry> |
| 43 |