Description Usage Arguments Value Examples
View source: R/as_data_frame.R
produces data.frame consisting of peg rules
1 2 | ## S3 method for class 'pegR'
as.data.frame(peg, ...)
|
parser, |
a peg parser produced by new.parser |
data.frame of rules
1 2 3 4 5 | peg<-new.parser()
peg +
c("A<-'a'", des="a 2 A", action="'A'") +
c("B<-'b'", des="b does nothtng")
as.data.frame(peg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.