Skip to content

Commit

Permalink
Add missing table library functions (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dionysusnu authored Feb 7, 2024
1 parent f89cef0 commit 33faa93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/LuauAST/impl/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,19 @@ export const globals = {
super: luau.id("super"),
table: {
clear: luau.property(TABLE_ID, "clear"),
clone: luau.property(TABLE_ID, "clone"),
concat: luau.property(TABLE_ID, "concat"),
create: luau.property(TABLE_ID, "create"),
find: luau.property(TABLE_ID, "find"),
freeze: luau.property(TABLE_ID, "freeze"),
insert: luau.property(TABLE_ID, "insert"),
isfrozen: luau.property(TABLE_ID, "isfrozen"),
maxn: luau.property(TABLE_ID, "maxn"),
move: luau.property(TABLE_ID, "move"),
pack: luau.property(TABLE_ID, "pack"),
remove: luau.property(TABLE_ID, "remove"),
sort: luau.property(TABLE_ID, "sort"),
unpack: luau.property(TABLE_ID, "unpack"),
},
utf8: {
charpattern: luau.property(UTF8_ID, "charpattern"),
Expand Down

0 comments on commit 33faa93

Please sign in to comment.