thentree {Ramble}R Documentation

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

Description

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

Usage

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

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


[Package Ramble version 0.1.1 Index]