🎨 add prefix to enum helper class
This commit is contained in:
parent
e2fb88a840
commit
929d41e392
@ -1,4 +1,4 @@
|
||||
class Enum {
|
||||
class Juicescript_helper_enum {
|
||||
constructor(...keys){
|
||||
keys.forEach((key, i) => {
|
||||
this[key] = i;
|
||||
|
@ -1,6 +1,6 @@
|
||||
class Juicescript {
|
||||
// TOKEN TYPES //
|
||||
static token_type = new Enum(
|
||||
static token_type = new Juicescript_helper_enum(
|
||||
// keywords
|
||||
"FUN", "GLOBAL", "END",
|
||||
|
||||
|
Reference in New Issue
Block a user