summary.pegR: Summarizes of the parser rule structure

Description Usage

View source: R/summary.R

Description

Summary provides the following :

  1. Undefined Rules This lists calls to rules that have not yet been defined.

  2. Recursives This list rules which may directly (or indirectly) call themselves

  3. Roots This lists rules which are not called by any rule and may only play the role of a root.

  4. Terminals This lists rules which call do not call any rule and may only play the role of a leaf (terminal)

Usage

1
2
## S3 method for class 'pegR'
summary(pegR)

mslegrand/pegr documentation built on May 23, 2019, 7:53 a.m.