Description Usage Arguments Examples
Returns a charactor vector giving all the defined rules contained in the parser.
1 |
parser, |
a peg parser produced by new.parser |
1 2 3 4 5 | peg<-new.parser()
peg<-add_rule(peg, "I<-'Ice'")
peg<-add_rule(peg, "A<-'Age'")
peg<-add_rule(peg, "S<-'Scrat'")
rule_ids(peg) #c("I", "A", "S")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.