Learn R Programming

pds3 (version 0.5.0)

pds3_lexer_parser: Access PDS3 Lexer & Parser

Description

Provides access to the underlying lexer & parser to process PDS3 files

Usage

pds3_lexer_parser(debug = FALSE)

Arguments

debug

(default: FALSE) Sets lexer/parser to debug mode for testing.

Value

A list with the following components:

lexer

The rly lexer

parser

The rly parser

Details

Typically you don't need to access this directly, but if you are processing a large number of files you may want to cache this and pass it in to `read_pds3` manually to prevent them from being re-created on each run.

Examples

Run this code
# NOT RUN {
util <- pds3_lexer_parser()
# }

Run the code above in your browser using DataLab