Skip to content

Commit

Permalink
feat: support for square brackets in token types
Browse files Browse the repository at this point in the history
  • Loading branch information
yazaldefilimone committed Feb 25, 2024
1 parent 20fbc4e commit c9be672
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/token/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export enum TokenType {
RPAREN = ")",
LBRACE = "{",
RBRACE = "}",
LBRACKET = "[",
RBRACKET = "]",
// Keywords
FUNCTION = "FUNCTION",
LET = "LET",
Expand Down

0 comments on commit c9be672

Please sign in to comment.