name {tabulog}R Documentation

Parser Names

Description

Get or set the name for a parser

Usage

name(x)

name(x) <- value

Arguments

x

parser

value

Name to be set

Value

The name attribute (should be a character) for the passed object (usually a parser object)

Examples

p <- parser('[0-9]+]')

# Default name (NULL)
name(p)

# Set name
name(p) <- 'int'

# Custom name
name(p)


[Package tabulog version 0.1.1 Index]