Skip to main content
Go to Latest
class matches.ConcatParsers
implements IParser<A, B2>
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.1.1.4/mod.ts";
const { ConcatParsers } = matches;

Constructors

new
private
ConcatParsers(
parent: Parser<A, B>,
otherParser: Parser<B, B2>,
description?,
)

Methods

parse<C, D>(a: A, onParse: OnParse<A, B2, C, D>): C | D

Static Methods

of<A, B, B2>(parent: Parser<A, B>, otherParser: Parser<B, B2>)