mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
Update grammar.md (#379)
This commit is contained in:
parent
3c42b3a013
commit
1334db600f
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ SingletonType = STRING | 'true' | 'false'
|
||||||
|
|
||||||
Type =
|
Type =
|
||||||
SimpleType ['?'] |
|
SimpleType ['?'] |
|
||||||
SimpleType ['|' Type] |
|
Type ['|' Type] |
|
||||||
SimpleType ['&' Type]
|
Type ['&' Type]
|
||||||
|
|
||||||
GenericTypePackParameter = NAME '...' ['=' (TypePack | VariadicTypePack | GenericTypePack)]
|
GenericTypePackParameter = NAME '...' ['=' (TypePack | VariadicTypePack | GenericTypePack)]
|
||||||
GenericTypeParameterList = NAME ['=' Type] [',' GenericTypeParameterList] | GenericTypePackParameter {',' GenericTypePackParameter}
|
GenericTypeParameterList = NAME ['=' Type] [',' GenericTypeParameterList] | GenericTypePackParameter {',' GenericTypePackParameter}
|
||||||
|
|
Loading…
Reference in a new issue