thentree: 'thentree' keeps the full tree representation of the results...

Description Usage Arguments Value See Also Examples

Description

thentree keeps the full tree representation of the results of parsing. Otherwise, it is identical to then.

Usage

1
thentree(p1, p2)

Arguments

p1

the first parser

p2

the second parser

Value

recognises anything that p1 and p2 would if placed in succession.

See Also

alt, thentree

Examples

1
(item() %thentree% succeed("123")) ("abc")

chappers/Ramble documentation built on May 13, 2019, 3:30 p.m.