find_start_pos_id {styler} | R Documentation |
Find legit starting value for a new positional id
Description
Looks at the current nest as well as into its children (if necessary) to make sure the right id is returned. Otherwise, ordering of tokens might not be preserved.
Usage
find_start_pos_id(pd, pos, by, direction, after, candidates = NULL)
Arguments
pd |
A parse table. |
pos |
The position where the new id should be inserted. |
by |
By how much the reference |
direction |
Derived from |
after |
Boolean indicating whether it should be inserted after or before
|
candidates |
The |
[Package styler version 1.10.3 Index]