Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a skeleton for enums #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions skeletons/enumname.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<reference xmlns="http://docbook.org/ns/docbook" xml:id="enum.enumname" role="enum">
<title>The EnumName Enum</title>
<titleabbrev>EnumName</titleabbrev>

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

<section xml:id="enum.enumname.synopsis">
&reftitle.enumsynopsis;

<enumsynopsis>
<enumname>EnumName</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
-->
Loading