Skip to content

Commit

Permalink
Proposal for Enum markup
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Nov 17, 2024
1 parent 5097918 commit a882a03
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions reference/random/random.intervalboundary.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<reference xmlns="http://docbook.org/ns/docbook" xml:id="enum.intervalboundary" role="enum">
<title>IntervalBoundary</title>
<titleabbrev>IntervalBoundary</titleabbrev>

<partintro>
<section xml:id="enum.intervalboundary.intro">
&reftitle.intro;
<simpara>
Intro
</simpara>
</section>

<section xml:id="enum.intervalboundary.synopsis">
<!-- TODO New Reftitle entity -->
&reftitle.classsynopsis;

<enumsynopsis>
<enumname>IntervalBoundary</enumname>
<!-- <modifier role="enum_backing_type">string|int</modifier> -->

<enumitem>
<enumidentifier>ClosedOpen</enumidentifier>
<!--
<enumvalue>
<literal>"string value"</literal>
<literal>25</literal>
</enumvalue>
-->
<enumitemdescription>
Description of enum case.
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>ClosedClosed</enumidentifier>
<!--
<enumvalue>
<literal>"string value"</literal>
<literal>25</literal>
</enumvalue>
-->
<enumitemdescription>
Description of enum case.
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>OpenClosed</enumidentifier>
<!--
<enumvalue>
<literal>"string value"</literal>
<literal>25</literal>
</enumvalue>
-->
<enumitemdescription>
Description of enum case.
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>OpenOpen</enumidentifier>
<!--
<enumvalue>
<literal>"string value"</literal>
<literal>25</literal>
</enumvalue>
-->
<enumitemdescription>
Description of enum case.
</enumitemdescription>
</enumitem>

</enumsynopsis>
</section>
</partintro>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

0 comments on commit a882a03

Please sign in to comment.