export enum TokenType { AND , OR , CLASS , EXTENDS , FUNC , OVERRIDE , RETURN , SELF , SUPER , CONST , VAR , IF , ELIF , ELSE , FOR , WHILE , IMPORT , AS } export let Keywords = Object . keys ( TokenType ) ; export enum TokenType { PLUS = 18 , MINUS , MUL , DIV , MOD , CARET , PLUSEQUAL , MINUSEQUAL , MULEQUAL , DIVEQUAL , MODEQUAL , CARETEQUAL , LPAREN , RPAREN , LBRACE , RBRACE , LBRACKET , RBRACKET , COLON , SEMICOLON , DOT , COMMA , PIPE , EROTEME , BANG , BANGEQUAL , EQUAL , EQUALEQUAL , LESS , LESSEQUAL , GREATER , GREATEREQUAL , NUMBER , STRING , BOOLEAN , NULL , ARRAY , IDENTIFIER , NATIVEFUNC , TYPE , EOF } export let LSTypesArray = [ "Any" , "Number" , "String" , "Boolean" , "Null" , "Array" ] as const ; export type LSTypes = typeof LSTypesArray [ number ] | LSTypes [ ] ; export let singleChars = { "(" : TokenType . LPAREN , ")" : TokenType . RPAREN , "{" : TokenType . LBRACE , "}" : TokenType . RBRACE , "[" : TokenType . LBRACKET , "]" : TokenType . RBRACKET , ":" : TokenType . COLON , ";" : TokenType . SEMICOLON , "." : TokenType . DOT , "," : TokenType . COMMA , "|" : TokenType . PIPE , "?" : TokenType . EROTEME , } ;