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


r-lib/styler documentation built on Oct. 1, 2024, 5:21 p.m.