vala r1552 - in trunk: . doc/vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1552 - in trunk: . doc/vala
- Date: Tue, 3 Jun 2008 19:14:22 +0000 (UTC)
Author: juergbi
Date: Tue Jun 3 19:14:22 2008
New Revision: 1552
URL: http://svn.gnome.org/viewvc/vala?rev=1552&view=rev
Log:
2008-06-03 JÃrg Billeter <j bitron ch>
* doc/vala/enums.xml:
Document enum syntax, based on patch by Phil Housley
Modified:
trunk/ChangeLog
trunk/doc/vala/enums.xml
Modified: trunk/doc/vala/enums.xml
==============================================================================
--- trunk/doc/vala/enums.xml (original)
+++ trunk/doc/vala/enums.xml Tue Jun 3 19:14:22 2008
@@ -1,17 +1,25 @@
<?xml version="1.0"?>
<section id="enums">
<h>Enums</h>
+ <p>Enumerated types represent a set of constant values.</p>
<section id="declaration">
<h>Enum declarations</h>
- <p>Documentation</p>
- </section>
- <section id="members">
- <h>Enum members</h>
- <p>Documentation</p>
- </section>
- <section id="methods">
- <h>Methods</h>
- <p>Documentation</p>
+ <blockquote>
+enum-declaration:
+ [ access-modifier ] <l>enum</l> qualified-identifier <l>{</l> [ enum-members ] <l>}</l>
+
+enum-members:
+ enum-values [ <l>;</l> [ enum-methods ] ]
+
+enum-values:
+ enum-value [ <l>,</l> enum-values ]
+
+enum-value:
+ identifier [ <l>=</l> expression ]
+
+enum-methods:
+ method-declaration [ enum-methods ]
+</blockquote>
</section>
</section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]