vala r1377 - in trunk: . doc/vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1377 - in trunk: . doc/vala
- Date: Mon, 12 May 2008 21:29:40 +0100 (BST)
Author: juergbi
Date: Mon May 12 20:29:40 2008
New Revision: 1377
URL: http://svn.gnome.org/viewvc/vala?rev=1377&view=rev
Log:
2008-05-12 Juerg Billeter <j bitron ch>
* doc/vala/expressions.xml:
Extend expressions section, based on patch by Phil Housley
Modified:
trunk/ChangeLog
trunk/doc/vala/expressions.xml
Modified: trunk/doc/vala/expressions.xml
==============================================================================
--- trunk/doc/vala/expressions.xml (original)
+++ trunk/doc/vala/expressions.xml Mon May 12 20:29:40 2008
@@ -1,21 +1,108 @@
<?xml version="1.0"?>
<section id="expressions">
<h>Expressions</h>
+ <section id="primary">
+ <h>Primary expressions</h>
+ <blockquote>
+primary-expression:
+ literal
+ simple-name
+ <l>(</l> expression <l>)</l>
+ member-access
+ invocation-expression
+ element-access
+ <l>this</l>
+ <l>base</l>
+ object-creation-expression
+ array-creation-expression
+ <l>sizeof (</l> type <l>)</l>
+ <l>typeof (</l> type <l>)</l>
+ </blockquote>
+ </section>
+ <section id="unary">
+ <h>Unary expressions</h>
+ <blockquote>
+unary-expression:
+ primary-expression
+ <l>+</l> unary-expression
+ <l>-</l> unary-expression
+ <l>!</l> unary-expression
+ <l>~</l> unary-expression
+ cast-expression
+ </blockquote>
+ </section>
<section id="arithmetic">
<h>Arithmetic operations</h>
- <p>Documentation</p>
+ <blockquote>
+multiplicative-expression:
+ unary-expression
+ multiplicative-expression <l>*</l> unary-expression
+ multiplicative-expression <l>/</l> unary-expression
+ multiplicative-expression <l>%</l> unary-expression
+
+additive-expression:
+ multiplicative-expression
+ additive-expression <l>+</l> multiplicative-expression
+ additive-expression <l>-</l> multiplicative-expression
+ </blockquote>
+ </section>
+ <section id="shift">
+ <h>Shift operations</h>
+ <blockquote>
+shift-expression:
+ additive-expression
+ shift-expression <l><<</l> additive-expression
+ shift-expression <l>>></l> additive-expression
+ </blockquote>
</section>
<section id="relational">
<h>Relational operations</h>
- <p>Documentation</p>
+ <blockquote>
+relational-expression:
+ shift-expression
+ relational-expression <l><</l> shift-expression
+ relational-expression <l><=</l> shift-expression
+ relational-expression <l>></l> shift-expression
+ relational-expression <l>>=</l> shift-expression
+
+equality-expression:
+ relational-expression
+ equality-expression <l>==</l> relational-expression
+ equality-expression <l>!=</l> relational-expression
+ </blockquote>
</section>
<section id="logical">
<h>Logical operations</h>
- <p>Documentation</p>
+ <blockquote>
+and-expression:
+ equality-expression
+ and-expression <l>&</l> equality-expression
+
+exclusive-or-expression:
+ and-expression
+ exclusive-or-expression <l>^</l> and-expression
+
+inclusive-or-expression:
+ exclusive-or-expression
+ inclusive-or-expression <l>|</l> exclusive-or-expression
+ </blockquote>
</section>
<section id="assignments">
<h>Assignments</h>
- <p>Documentation</p>
+ <blockquote>
+assigment:
+ unary-expression <l>=</l> expression
+ unary-expression <l>+=</l> expression
+ unary-expression <l>-=</l> expression
+ unary-expression <l>*=</l> expression
+ unary-expression <l>/=</l> expression
+ unary-expression <l>%=</l> expression
+ unary-expression <l>&=</l> expression
+ unary-expression <l>|=</l> expression
+ unary-expression <l>^=</l> expression
+ unary-expression <l><<=</l> expression
+ unary-expression <l>>>=</l> expression
+ </blockquote>
</section>
</section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]