wrap_subexpr_in_curly: Wrap a sub-expression in curly braces

View source: R/rules-tokens.R

wrap_subexpr_in_curlyR Documentation

Wrap a sub-expression in curly braces

Description

Wraps some rows of a parse table into a sub-expression.

Usage

wrap_subexpr_in_curly(pd, ind_to_be_wrapped, indent_by, space_after)

Arguments

pd

A parse table.

ind_to_be_wrapped

The indices of the rows that should be wrapped into a new expression.

space_after

How many spaces should be inserted after the closing brace.


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