apply_ref_indention: Apply reference indention to tokens

Description Usage Arguments

View source: R/reindent.R

Description

Applies the reference indention created with functions update_indention_ref() to the flattened parse table. The indention is applied to all token that inherit from a reference token sequentially, i.e. by looping over the target tokens.

Usage

1
apply_ref_indention(flattened_pd)

Arguments

flattened_pd

A flattened parse table


krlmlr/styler documentation built on Oct. 25, 2020, 8:13 a.m.