mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 07:43:09 +02:00
Add some keywords
This commit is contained in:
parent
7e3707882d
commit
7dd4e6ecee
1 changed files with 9 additions and 0 deletions
|
@ -42,6 +42,7 @@ const keywords = [
|
|||
'switch',
|
||||
'match',
|
||||
'case',
|
||||
'default',
|
||||
'for',
|
||||
'each',
|
||||
'in',
|
||||
|
@ -52,6 +53,11 @@ const keywords = [
|
|||
'do',
|
||||
'goto',
|
||||
'end',
|
||||
'throw',
|
||||
'try',
|
||||
'catch',
|
||||
'finally',
|
||||
'enum',
|
||||
'function',
|
||||
'func',
|
||||
'fn',
|
||||
|
@ -59,6 +65,7 @@ const keywords = [
|
|||
'async',
|
||||
'await',
|
||||
'require',
|
||||
'include',
|
||||
'import',
|
||||
'export',
|
||||
'from',
|
||||
|
@ -66,7 +73,9 @@ const keywords = [
|
|||
'use',
|
||||
'module',
|
||||
'struct',
|
||||
'union',
|
||||
'new',
|
||||
'delete',
|
||||
'this',
|
||||
'super',
|
||||
'base',
|
||||
|
|
Loading…
Reference in a new issue