diff --git a/doc/Expr.adoc b/doc/Expr.adoc index dbe8f2c..282856e 100644 --- a/doc/Expr.adoc +++ b/doc/Expr.adoc @@ -741,8 +741,11 @@ The table below shows all supported operators by decreasing priorities. .2+|*ITEM*| [blue]`[`...`]` | _Postfix_ | _List item_| _list_ `[` _integer_ `]` -> _any_ | [blue]`[`...`]` | _Postfix_ | _Dict item_ | _dict_ `[` _any_ `]` -> _any_ -.2+|*INC*| [blue]`++` | _Postfix_ | _Post increment_| _integer-variable_ `++` -> _integer_ -| [blue]`++` | _Postfix_ | _Next item_ | _iterator_ `++` -> _any_ +.5+|*INC/DEC*| [blue]`++` | _Postfix_ | _Iterator next item_ | _iterator_ `++` -> _any_ +| [blue]`++` | _Postfix_ | _Post increment_| _integer-variable_ `++` -> _integer_ +| [blue]`++` | _Prefix_ | _Pre increment_ | `++` _integer-variable_ -> _integer_ +| [blue]`--` | _Postfix_ | _Post decrement_ | _integer-variable_ `--` -> _integer_ +| [blue]`--` | _Prefix_ | _Pre decrement_ | `--` _integer-variable_ -> _integer_ .3+|*DEFAULT*| [blue]`??` | _Infix_ | _Default value_| _variable_ `??` _any-expr_ -> _any_ | [blue]`?=` | _Infix_ | _Default/assign value_| _variable_ `?=` _any-expr_ -> _any_ | [blue]`?!` | _Infix_ | _Alternate value_| _variable_ `?!` _any-expr_ -> _any_ @@ -769,9 +772,10 @@ The table below shows all supported operators by decreasing priorities. | [blue]`+` | _Infix_ | _Dict-join_ | _dict_ `+` _dict_ -> _dict_ | [blue]`-` | _Infix_ | _Subtraction_ | _number_ `-` _number_ -> _number_ | [blue]`-` | _Infix_ | _List-difference_ | _list_ `-` _list_ -> _list_ -.1+|*BITWISE NOT*| [blue]`~` | _Prefix_ | _Binary Not_ | `~` _number_ -> _number_ -.1+|*BITWISE AND*| [blue]`&` | _Infix_ | _Binary And_ | _number_ `&` _number_ -> _number_ -.1+|*BITWISE OR*| [blue]`\|` | _Infix_ | _Binary Or_ | _number_ `\|` _number_ -> _number_ +.1+|*BITWISE NOT*| [blue]`~` | _Prefix_ | _Binary Not_ | `~` _integer_ -> _integer_ +.1+|*BITWISE AND*| [blue]`&` | _Infix_ | _Binary And_ | _integer_ `&` _integer_ -> _integer_ +.2+|*BITWISE OR*| [blue]`\|` | _Infix_ | _Binary Or_ | _integer_ `\|` _integer_ -> _integer_ +| [blue]`^` | _Infix_ | _Binary Xor_ | _integer_ `^` _integer_ -> _integer_ .8+|*RELATION*| [blue]`<` | _Infix_ | _Less_ | _comparable_ `<` _comparable_ -> _boolean_ | [blue]`\<=` | _Infix_ | _less-equal_ | _comparable_ `\<=` _comparable_ -> _boolean_ | [blue]`>` | _Infix_ | _Greater_ | _comparable_ `>` _comparable_ -> _boolean_ @@ -788,7 +792,7 @@ The table below shows all supported operators by decreasing priorities. .2+|*INSERT*| [blue]`+>` | _Infix_ | _Prepend_ | _any_ `+>` _list_ -> _list_ | [blue]`<+` | _Infix_ | _Append_ | _list_ `<+` _any_ -> _list_ .2+|*ASSIGN*| [blue]`=` | _Infix_ | _Assignment_ | _identifier_ `=` _any_ -> _any_ -4+| _See also the special assignment operators table below_ +4+| _See also the table of special allocation operators below_ .1+|*BUT*| [blue]`but` | _Infix_ | _But_ | _any_ `but` _any_ -> _any_ .1+|*RANGE*| [blue]`:` | _Infix_ | _Index-range_ | _integer_ `:` _integer_ -> _integer-pair_ |=== diff --git a/doc/Expr.html b/doc/Expr.html index 4ce12b9..dffa60c 100644 --- a/doc/Expr.html +++ b/doc/Expr.html @@ -1930,7 +1930,13 @@ These operators have a high priority, in particular higher than the operator

dict [ any ]any

-

INC

+

INC/DEC

+

++

+

Postfix

+

Iterator next item

+

iterator ++any

+ +

++

Postfix

Post increment

@@ -1938,9 +1944,21 @@ These operators have a high priority, in particular higher than the operator

++

+

Prefix

+

Pre increment

+

++ integer-variableinteger

+ + +

--

Postfix

-

Next item

-

iterator ++any

+

Post decrement

+

integer-variable --integer

+ + +

--

+

Prefix

+

Pre decrement

+

-- integer-variableinteger

DEFAULT

@@ -2105,21 +2123,27 @@ These operators have a high priority, in particular higher than the operator

~

Prefix

Binary Not

-

~ numbernumber

+

~ integerinteger

BITWISE AND

&

Infix

Binary And

-

number & numbernumber

+

integer & integerinteger

-

BITWISE OR

+

BITWISE OR

|

Infix

Binary Or

-

number | numbernumber

+

integer | integerinteger

+ + +

^

+

Infix

+

Binary Xor

+

integer ^ integerinteger

RELATION

@@ -2224,7 +2248,7 @@ These operators have a high priority, in particular higher than the operator

identifier = anyany

-

See also the special assignment operators table below

+

See also the table of special allocation operators below

BUT

@@ -2575,7 +2599,7 @@ g(@p):any{}`