alignment_ensure_no_closing_brace: Ensure the closing brace of the call is removed

View source: R/detect-alignment-utils.R

alignment_ensure_no_closing_braceR Documentation

Ensure the closing brace of the call is removed

Description

Must be after dropping comments because the closing brace is only guaranteed to be the last token in that case.

Usage

alignment_ensure_no_closing_brace(pd_by_line, last_line_droped_early)

Arguments

pd_by_line

A list, each element corresponding to a potentially incomplete parse table that represents all token from one line.


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