Extend namespaces section, based on patch by Phil Housley
authorJuerg Billeter <j@bitron.ch>
Mon, 12 May 2008 20:48:05 +0000 (20:48 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 12 May 2008 20:48:05 +0000 (20:48 +0000)
2008-05-12  Juerg Billeter  <j@bitron.ch>

* doc/vala/namespaces.xml:

Extend namespaces section, based on patch by Phil Housley

svn path=/trunk/; revision=1380

ChangeLog
doc/vala/namespaces.xml

index 814d7b7..6263eba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-05-12  Jürg Billeter  <j@bitron.ch>
 
+       * doc/vala/namespaces.xml:
+
+       Extend namespaces section, based on patch by Phil Housley
+
+2008-05-12  Jürg Billeter  <j@bitron.ch>
+
        * doc/vala/statements.xml:
 
        Small improvements to statements section
index 683430d..17c7dc4 100644 (file)
@@ -3,7 +3,28 @@
        <h>Namespaces</h>
        <section id="declaration">
                <h>Namespace declarations</h>
-               <p>Documentation</p>
+               <blockquote>
+namespace-declaration:
+       <l>namespace</l> qualified-identifier <l>{</l> [ namespace-members ] <l>}</l>
+
+qualified-identifier:
+       [ qualified-identifier <l>.</l> ] identifier
+
+namespace-members:
+       [ namespace-members ] namespace-member
+
+namespace-member:
+       namespace-declaration
+       method-declaration
+       field-declaration
+       constant-declaration
+       class-declaration
+       struct-declaration
+       interface-declaration
+       enum-declaration
+       delegate-declaration
+       errordomain-declaration
+               </blockquote>
        </section>
 </section>