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


krlmlr/styler documentation built on Nov. 2, 2024, 5:14 a.m.