name {tabulog} | R Documentation |
Get or set the name for a parser
name(x)
name(x) <- value
x |
parser |
value |
Name to be set |
The name attribute (should be a character) for the passed object
(usually a parser
object)
p <- parser('[0-9]+]')
# Default name (NULL)
name(p)
# Set name
name(p) <- 'int'
# Custom name
name(p)