Skip to content

Commit 92ccea9

Browse files
authored
feat(tokeniser): support bigint arrays as keywords (#601)
* Support bigint arrays as keywords * use also arraybufferview
1 parent 8b75b9e commit 92ccea9

File tree

5 files changed

+532
-0
lines changed

5 files changed

+532
-0
lines changed

lib/tokeniser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export const typeNameKeywords = [
2626
"Uint16Array",
2727
"Uint32Array",
2828
"Uint8ClampedArray",
29+
"BigInt64Array",
30+
"BigUint64Array",
2931
"Float32Array",
3032
"Float64Array",
3133
"any",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Syntax error at line 1 in bigint64array-keyword.webidl:
2+
interface BigInt64Array {};
3+
^ Missing name in interface
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
interface BigInt64Array {};

0 commit comments

Comments
 (0)