powered by
Parses text to a flat parse table and subsequently changes its representation into a nested parse table with nest_parse_data().
text
nest_parse_data()
compute_parse_data_nested( text, transformers = tidyverse_style(), more_specs = NULL )
A nested parse table. See tokenize() for details on the columns of the parse table.
tokenize()
The text to parse.
Passed to cache_make_key() to generate a key.
cache_make_key()
code <- " ab <- 1L # some comment abcdef <- 2L " writeLines(code) compute_parse_data_nested(code)
Run the code above in your browser using DataLab