pd_is_multi_line: Check whether a parse table is a multi-line token

View source: R/indent.R

pd_is_multi_lineR Documentation

Check whether a parse table is a multi-line token

Description

A token is a multi-line expression if and only if:

Usage

pd_is_multi_line(pd)

Arguments

pd

A parse table.

Details

  • it contains a line break.

  • it has at least one child that is a multi-line expression itself.


r-lib/styler documentation built on Dec. 13, 2024, 5:42 p.m.