apply_ref_indention: Apply reference indention to tokens

View source: R/reindent.R

apply_ref_indentionR Documentation

Apply reference indention to tokens

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

apply_ref_indention(flattened_pd)

Arguments

flattened_pd

A flattened parse table


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