cache_find_block: Find the groups of expressions that should be processed...

Description Usage Arguments Details

View source: R/transform-block.R

Description

Every expression is an expression itself, Expressions on same line are in same block. Multiple expressions can sit on one row, e.g. in line comment and commands separated with ";". This creates a problem when processing each expression separately because when putting them together, we need complicated handling of line breaks between them, as it is not apriori clear that there is a line break separating them. To avoid this, we put top level expressions that sit on the same line into one block, so the assumption that there is a line break between each block of expressions holds.

Usage

1

Arguments

pd

A top level nest.

Details

we want to for turning points:


krlmlr/styler documentation built on Oct. 25, 2020, 8:13 a.m.