Token {tangram} | R Documentation |
A token in the formula grammar
Description
A token in the formula grammar
A token in the formula grammar
Format
R6Class
object.
Public fields
id
The token identifier, E.g. "LPAREN"
name
Information about the token, useful with IDENTIFIERs.
Methods
Public methods
Method new()
Construct a lexical token
Usage
Token$new(id, name = "")
Arguments
id
(character) The lexical id of the token
name
(character) Additional token information if needed
Method clone()
The objects of this class are cloneable with this method.
Usage
Token$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
[Package tangram version 0.8.2 Index]