Constructors
constructor
-
Parameters
-
-
Optional value: string
-
Optional location: object
Properties
Private pvalue
pvalue: string
Methods
isEqual
-
Parameters
Returns boolean
prepend
- prepend(value?: string): Token
-
Parameters
-
Default value value: string = ""
setLocation
- setLocation(location: any): Token
setValue
- setValue(value: any): Token
Static typeToString
- typeToString(type: TokenType, prepend?: string): string
-
Parameters
Returns string
The location.