powered by
Use this function to test whether your parser failed, for example in unit testing of your parsers when writing a package.
failed(o)
A logical value.
Output from a parser.
print.marker()
d <- (literal("A") %then% literal("B"))(c("A","A")) d failed(d)
Run the code above in your browser using DataLab