needs_indention {styler} | R Documentation |
Check whether indention is needed
Description
Checks for each potential trigger token in pd
whether it actually should
cause indention.
Usage
needs_indention(pd, potential_triggers_pos, other_trigger_tokens = NULL)
Arguments
pd |
A parse table. |
potential_triggers_pos |
A vector with indices of the potential trigger
tokens in |
other_trigger_tokens |
Other tokens that are going to cause indention
if on the same line as the token corresponding to |
[Package styler version 1.10.3 Index]