R: Ensure that the parse data is valid

ensure_valid_pd {styler} | R Documentation

## 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.

[Package styler version 1.0.2 Index]