A token in the formula grammar
A token in the formula grammar
R6Class object.
idThe token identifier, E.g. "LPAREN"
nameInformation 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)deepWhether to make a deep clone.