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.


krlmlr/styler documentation built on April 24, 2024, 4:14 p.m.