docs: update keyword list (#14319)

master
StunxFS 2022-05-06 13:17:45 -04:00 committed by GitHub
parent 2027a1969b
commit 87de6df0e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -6026,7 +6026,7 @@ a nested loop, and those do not risk violating memory-safety.
## Appendix I: Keywords ## Appendix I: Keywords
V has 41 reserved keywords (3 are literals): V has 42 reserved keywords (3 are literals):
```v ignore ```v ignore
as as
@ -6038,7 +6038,6 @@ const
continue continue
defer defer
else else
embed
enum enum
false false
fn fn
@ -6050,6 +6049,7 @@ import
in in
interface interface
is is
isreftype
lock lock
match match
module module
@ -6097,15 +6097,15 @@ This lists operators for [primitive types](#primitive-types) only.
<< left shift integer << unsigned integer << left shift integer << unsigned integer
>> right shift integer >> unsigned integer >> right shift integer >> unsigned integer
>>> unsigned right shift integer >> unsigned integer >>> unsigned right shift integer >> unsigned integer
Precedence Operator Precedence Operator
5 * / % << >> >>> & 5 * / % << >> >>> &
4 + - | ^ 4 + - | ^
3 == != < <= > >= 3 == != < <= > >=
2 && 2 &&
1 || 1 ||
Assignment Operators Assignment Operators