A token in the formula grammar
A token in the formula grammar
R6Class
object.
id
The token identifier, E.g. "LPAREN"
name
Information about the token, useful with IDENTIFIERs.
new()
Construct a lexical token
Token$new(id, name = "")
id
(character) The lexical id of the token
name
(character) Additional token information if needed
clone()
The objects of this class are cloneable with this method.
Token$clone(deep = FALSE)
deep
Whether to make a deep clone.