| 1 | <refentry id="nonterminal.element" revision='EBNF'> |
| 2 | <?dbhtml filename="nonterminal.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>nonterminal</secondary></indexterm> |
| 11 | <refentrytitle>nonterminal</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>nonterminal</refname> |
| 16 | <refpurpose>&nonterminal.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &nonterminal.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para>This element is only available if you are using the EBNF Module.</para> |
| 23 | |
| 24 | <para>A <sgmltag>NonTerminal</sgmltag> is a symbol in an EBNF |
| 25 | <sgmltag>Production</sgmltag> that represents a portion of the |
| 26 | grammar.</para> |
| 27 | |
| 28 | &nonterminal.parents.gen; |
| 29 | |
| 30 | </refsect1> |
| 31 | |
| 32 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 33 | |
| 34 | <variablelist> |
| 35 | <varlistentry><term>def</term> |
| 36 | <listitem> |
| 37 | <para revision="EBNF">The <sgmltag class="attribute">def</sgmltag> attribute |
| 38 | contains a URI reference that points to a <sgmltag>production</sgmltag> where |
| 39 | the <sgmltag>nonterminal</sgmltag> is defined.</para> |
| 40 | |
| 41 | <para>Note that this <emphasis>is not</emphasis> |
| 42 | an IDREF, it is a URI reference (as, for example, are |
| 43 | <sgmltag class="attribute">href</sgmltag> attributes on HTML |
| 44 | <sgmltag>a</sgmltag> elements). This is necessary because references to |
| 45 | non-terminals might need to cross document boundaries.</para> |
| 46 | </listitem> |
| 47 | </varlistentry> |
| 48 | </variablelist> |
| 49 | |
| 50 | </refsect1> |
| 51 | </refentry> |
| 52 |