Constructors
constructor
- new Token(kind, input, begin, end, file?): Token
Parameters
- kind: TokenKind
- input: string
- begin: number
- end: number
Optional
file: string
Properties
Optional
file
file?: string
Methods
getPosition
- getPosition(): number[]
Returns number[]
getText
- getText(): string
Returns string
size
- size(): number
Returns number