
Last chance! 50% off unlimited learning
Sale ends in
Implements a very specific pre-visiting scheme, namely to propagate
indention, spaces and lag_newlines to inner token to terminals. This means
that information regarding indention, line breaks and spaces (which is
relative in pd_nested
) will be converted into absolute.
context_to_terminals(
pd_nested,
outer_lag_newlines,
outer_indent,
outer_spaces,
outer_indention_refs
)
An updated parse table.
A nested parse table.
The lag_newlines to be propagated inwards.
The indention depth to be propagated inwards.
The number of spaces to be propagated inwards.
The reference pos id that should be propagated inwards.
context_towards_terminals visitors