Class: Token

Token(type, value, begin, end, text)

new Token(type, value, begin, end, text)

Token object
Parameters:
Name Type Description
type string The type of token
value The value of the token
begin number The start index of the input region represented by the token
end number The index of the character one past the end of the input region represented by the token
text string The text of the token
Source: