Find legit starting value for a new positional id
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.
find_start_pos_id(pd, pos, by, direction, after, candidates = NULL)
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 |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.