This function initializes and removes various variables from the parse table.

default_style_guide_attributes(pd_flat)

Arguments

pd_flat

A parse table.

Examples

string_to_format <- "call( 3)" pd <- styler:::compute_parse_data_nested(string_to_format) styler:::pre_visit(pd, c(default_style_guide_attributes))
#> # A tibble: 1 x 16 #> pos_id token terminal text short token_before token_after stylerignore #> <int> <chr> <lgl> <chr> <chr> <chr> <chr> <lgl> #> 1 1 expr FALSE "" "" NA NA FALSE #> # … with 8 more variables: internal <lgl>, child <named list>, newlines <int>, #> # lag_newlines <int>, spaces <int>, multi_line <lgl>, #> # indention_ref_pos_id <lgl>, indent <dbl>