Doc: more details on some operators

This commit is contained in:
Celestino Amoroso 2024-05-20 15:50:45 +02:00
parent f22b5a6f0b
commit ba32e2dccf
2 changed files with 10 additions and 5 deletions

View File

@ -295,7 +295,7 @@ _item_ = _string-expr_ "**.**" _integer-expr_
=== Booleans
Boolean data type has two values only: [blue]_true_ and [blue]_false_. Relational and boolean expressions result in boolean values.
.Relational operators
.Relational operators^(*)^
[cols="^1,^2,6,4"]
|===
| Symbol | Operation | Description | Examples
@ -314,6 +314,8 @@ Boolean data type has two values only: [blue]_true_ and [blue]_false_. Relationa
[blue]`"b" \<= "b"` -> _true_
|===
^(*)^ See also the [blue]`in` operator in the _list_ and _dictionary_ sections.
.Boolean operators
[cols="^2,^2,5,4"]
@ -575,7 +577,7 @@ The table below shows all supported operators by decreasing priorities.
| Priority | Operators | Position | Operation | Operands and results
.2+|*ITEM*| [blue]`.` | _Infix_ | _List item_| _list_ `"."` _integer_ -> _any_
| [blue]`.` | _Infix_ | _Dict item_ | _dict_ `""` _any_ -> _any_
| [blue]`.` | _Infix_ | _Dict item_ | _dict_ `"."` _any_ -> _any_
.2+|*INC*| [blue]`++` | _Postfix_ | _Post increment_| _integer-variable_ `"++"` -> _integer_
| [blue]`++` | _Postfix_ | _Next item_ | _iterator_ `"++"` -> _any_
.1+|*FACT*| [blue]`!` | _Postfix_ | _Factorial_| _integer_ `"!"` -> _integer_

View File

@ -585,7 +585,7 @@ pre.rouge .ss {
<div class="sectionbody">
<!-- toc disabled -->
<div class="paragraph">
<p><mark>TODO: Work in progress (last update on 2024/05/17, 15:47 p.m.)</mark></p>
<p><mark>TODO: Work in progress (last update on 2024/05/20, 06:58 a.m.)</mark></p>
</div>
</div>
</div>
@ -1041,7 +1041,7 @@ pre.rouge .ss {
<p>Boolean data type has two values only: <em class="blue">true</em> and <em class="blue">false</em>. Relational and boolean expressions result in boolean values.</p>
</div>
<table class="tableblock frame-all grid-all stretch">
<caption class="title">Table 4. Relational operators</caption>
<caption class="title">Table 4. Relational operators<sup>(*)</sup></caption>
<colgroup>
<col style="width: 7.6923%;">
<col style="width: 15.3846%;">
@ -1101,6 +1101,9 @@ pre.rouge .ss {
</tr>
</tbody>
</table>
<div class="paragraph">
<p><sup>(*)</sup> See also the <code class="blue">in</code> operator in the <em>list</em> and <em>dictionary</em> sections.</p>
</div>
<table class="tableblock frame-all grid-all stretch">
<caption class="title">Table 5. Boolean operators</caption>
<colgroup>
@ -1871,7 +1874,7 @@ These operators have a high priority, in particular higher than the operator <co
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-05-20 06:58:09 +0200
Last updated 2024-05-20 09:40:23 +0200
</div>
</div>
</body>