Add "array" type to table

This commit is contained in:
Federico Cassano 2023-08-02 12:13:07 -07:00 committed by GitHub
parent f2391131b7
commit 4b90c10f13
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,6 @@ TableIndexer = '[' Type ']' ':' Type
TableProp = NAME ':' Type TableProp = NAME ':' Type
TablePropOrIndexer = TableProp | TableIndexer TablePropOrIndexer = TableProp | TableIndexer
PropList = TablePropOrIndexer {fieldsep TablePropOrIndexer} [fieldsep] PropList = TablePropOrIndexer {fieldsep TablePropOrIndexer} [fieldsep]
TableType = '{' [PropList] '}' TableType = '{' [(PropList | Type)] '}'
FunctionType = ['<' GenericTypeList '>'] '(' [BoundTypeList] ')' '->' ReturnType FunctionType = ['<' GenericTypeList '>'] '(' [BoundTypeList] ')' '->' ReturnType
``` ```