BranchActionParser

fun <A : Action> BranchActionParser(vararg children: ActionParser<A>)

Constructor with no default action

Parameters

children

Children to pass parsing. First non-null result is used as a return value from parse


fun <A : Action> BranchActionParser(children: Iterable<ActionParser<A>>, default: ActionParser<A>)

Parameters

children

Children to pass parsing. First non-null result is used as a return value from parse

default

Called when no child parser matches given components