mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: reserved keywords update based on token.v (#6050)
This commit is contained in:
parent
37311883c1
commit
f162e61748
13
doc/docs.md
13
doc/docs.md
@ -2598,16 +2598,19 @@ fn C.DefWindowProc(hwnd int, msg int, lparam int, wparam int)
|
|||||||
|
|
||||||
## Appendix I: Keywords
|
## Appendix I: Keywords
|
||||||
|
|
||||||
V has 29 keywords (3 are literals):
|
V has 41 reserved keywords (3 are literals):
|
||||||
|
|
||||||
```v
|
```v
|
||||||
as
|
as
|
||||||
|
asm
|
||||||
assert
|
assert
|
||||||
|
atomic
|
||||||
break
|
break
|
||||||
const
|
const
|
||||||
continue
|
continue
|
||||||
defer
|
defer
|
||||||
else
|
else
|
||||||
|
embed
|
||||||
enum
|
enum
|
||||||
false
|
false
|
||||||
fn
|
fn
|
||||||
@ -2619,6 +2622,7 @@ import
|
|||||||
in
|
in
|
||||||
interface
|
interface
|
||||||
is
|
is
|
||||||
|
lock
|
||||||
match
|
match
|
||||||
module
|
module
|
||||||
mut
|
mut
|
||||||
@ -2626,9 +2630,16 @@ none
|
|||||||
or
|
or
|
||||||
pub
|
pub
|
||||||
return
|
return
|
||||||
|
rlock
|
||||||
|
select
|
||||||
|
shared
|
||||||
|
sizeof
|
||||||
|
static
|
||||||
struct
|
struct
|
||||||
true
|
true
|
||||||
type
|
type
|
||||||
|
typeof
|
||||||
|
union
|
||||||
unsafe
|
unsafe
|
||||||
```
|
```
|
||||||
See also [Types](#types).
|
See also [Types](#types).
|
||||||
|
Loading…
Reference in New Issue
Block a user