SegmentCheckParser

open class SegmentCheckParser<A : Action>(segment: String, next: ActionParser<A>) : ActionParser<A>

Common matcher that checks if segment in parse equals segment

Constructors

Link copied to clipboard
fun <A : Action> SegmentCheckParser(segment: String, next: ActionParser<A>)

Functions

Link copied to clipboard
open override fun parse(components: PshComponents, pathIndex: Int): A?

Tries to parse given path