get_parse_data: Obtain robust parse data

View source: R/parse.R

get_parse_dataR Documentation

Obtain robust parse data

Description

Wrapper around utils::getParseData(parse(text = text)) that returns a flat parse table. When caching information should be added, make sure that the cache is activated with cache_activate() and both transformers and cache_dir are non-NULL.

Usage

get_parse_data(text, include_text = TRUE, ...)

Arguments

text

The text to parse.

include_text

Passed to utils::getParseData() as includeText.

...

Other arguments passed to utils::getParseData().


styler documentation built on Aug. 29, 2023, 5:10 p.m.