format.parser {tabulog}R Documentation

Encode for printing

Description

Format a parser object for printing

Usage

## S3 method for class 'parser'
format(x, ...)

Arguments

x

parser to be formatted

...

other arguments to be passed to format.character

Examples

# No name, default formatter
format(parser('[0-9]+'))
# Custom name and formatter
format(parser('[0-9]+]', as.integer, name='int'))


[Package tabulog version 0.1.1 Index]