| ensure_correct_str_txt {styler} | R Documentation |
text of all stringsMake sure text of the tokens STR_CONST is correct and adapt if necessary.
We first parse text again and include also non-terminal text. Then, we
replace offending text in the terminal expressions with the text of their
parents if their line / col position matches and return an error otherwise.
ensure_correct_str_txt(pd, text)
pd |
A parse table. |
text |
The text from which |