Include singleton types (string/boolean)

This commit is contained in:
JohnnyMorganz 2022-01-17 13:21:08 +00:00
parent 497d625f73
commit 893b0abfa8

View file

@ -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 |