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 15 #> pos_id token terminal text short token_before token_after internal child #> <int> <chr> <lgl> <chr> <chr> <chr> <chr> <lgl> <lis> #> 1 1 expr FALSE "" "" NA NA TRUE <tib… #> # ... with 6 more variables: newlines <int>, lag_newlines <int>, spaces <int>, #> # multi_line <lgl>, indention_ref_pos_id <lgl>, indent <dbl>