a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
5 lines
1.6 KiB
XML
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>&</terminal><terminal>|</terminal><terminal>^</terminal><terminal>!</terminal><terminal>~</terminal></rhs><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>-=</terminal><terminal>*=</terminal><terminal>/=</terminal><terminal>%=</terminal><terminal>&=</terminal></rhs><rhs><terminal>|=</terminal><terminal>^=</terminal><terminal><<=</terminal><terminal>>>=</terminal><terminal>-></terminal></rhs></grammar_production></paragraph>
|
|
</clause>
|