Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

5 lines
1.6 KiB
XML

<?xml version="1.0"?>
<clause number="9.4.5" title="Operators and punctuators">
<paragraph>There are several kinds of operators and punctuators. Operators are used in expressions to describe operations involving one or more operands. <example>[Example: For example, the expression a + b uses the + operator to add the two operands a and b. end example]</example> Punctuators are for grouping and separating. <grammar_production><name><non_terminal where="9.4.5">operator-or-punctuator</non_terminal></name> :: one of <rhs><terminal>{</terminal><terminal>}</terminal><terminal>[</terminal><terminal>]</terminal><terminal>(</terminal><terminal>)</terminal><terminal>.</terminal><terminal>,</terminal><terminal>:</terminal><terminal>;</terminal></rhs><rhs><terminal>+</terminal><terminal>-</terminal><terminal>*</terminal><terminal>/</terminal><terminal>%</terminal><terminal>&amp;</terminal><terminal>|</terminal><terminal>^</terminal><terminal>!</terminal><terminal>~</terminal></rhs><rhs><terminal>=</terminal><terminal>&lt;</terminal><terminal>&gt;</terminal><terminal>?</terminal><terminal>++</terminal><terminal>--</terminal><terminal>&amp;&amp;</terminal><terminal>||</terminal><terminal>&lt;&lt;</terminal><terminal>&gt;&gt;</terminal></rhs><rhs><terminal>==</terminal><terminal>!=</terminal><terminal>&lt;=</terminal><terminal>&gt;=</terminal><terminal>+=</terminal><terminal>-=</terminal><terminal>*=</terminal><terminal>/=</terminal><terminal>%=</terminal><terminal>&amp;=</terminal></rhs><rhs><terminal>|=</terminal><terminal>^=</terminal><terminal>&lt;&lt;=</terminal><terminal>&gt;&gt;=</terminal><terminal>-&gt;</terminal></rhs></grammar_production></paragraph>
</clause>