mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Include singleton types (string/boolean)
This commit is contained in:
parent
497d625f73
commit
893b0abfa8
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ unop = '-' | 'not' | '#'
|
||||||
|
|
||||||
SimpleType =
|
SimpleType =
|
||||||
'nil' |
|
'nil' |
|
||||||
|
STRING |
|
||||||
|
'true' |
|
||||||
|
'false' |
|
||||||
NAME ['.' NAME] [ '<' TypeList '>' ] |
|
NAME ['.' NAME] [ '<' TypeList '>' ] |
|
||||||
'typeof' '(' exp ')' |
|
'typeof' '(' exp ')' |
|
||||||
TableType |
|
TableType |
|
||||||
|
|
Loading…
Add table
Reference in a new issue