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")

Ramble documentation built on May 1, 2019, 7:17 p.m.