BranchActionParser
open class BranchActionParser<A : Action>(children: Iterable<ActionParser<A>>, default: ActionParser<A>) : ActionParser<A>
Content copied to clipboard
Parser to parse path branch
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
Constructors
Link copied to clipboard
Constructor with no default action
Link copied to clipboard
fun <A : Action> BranchActionParser(children: Iterable<ActionParser<A>>, default: ActionParser<A>)
Content copied to clipboard