Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ensure_valid_pd

Ensure that the parse data is valid


Description

Test whether all non-terminals have at least one child and throw an error otherwise. As this is check is rather expensive, it is only carried out for configurations we have good reasons to expect problems.

Usage

ensure_valid_pd(pd)

Arguments

pd

A parse table.


styler

Non-Invasive Pretty Printing of R Code

v1.4.1
MIT + file LICENSE
Authors
Kirill Müller [aut], Lorenz Walthert [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.