Constructors
constructor
- new Token(type: TokenType, value: any, line: number, column: number): Token
-
Parameters
-
-
value: any
-
line: number
-
column: number
Methods
test
- test(type: TokenType, value?: string | string[] | number): boolean
-
Parameters
-
-
Default value value: string | string[] | number = null
Returns boolean