Methods
compare(other) → {Number}
Returns 0 if the values are equal, 1 if greater than other, -1 otherwise.
Parameters:
Name | Type | Description |
---|---|---|
other |
Token |
Returns:
- Type
- Number
getType() → {Object}
Returns:
The type info for the type of the value of the token.
- Type
- Object
getValue() → {*}
Returns:
The raw value of the token.
- Type
- *