peberminta - v0.10.0
    Preparing search index...

    Module char

    This is an additional module specifically for string parsers.

    It contains parsers with token type bound to be string and expected to work with individual characters.

    It should work even if you have a custom way to split a string into symbols such as graphemes.

    Node:

    import * as pc from 'peberminta/char';
    

    Deno:

    import * as p from 'https://deno.land/x/peberminta@.../char.ts';
    

    Utility types

    CharUnion
    GraphemeUnion

    Parsers

    anyOf → oneOf
    char
    charTest
    concat
    noneOf
    oneOf
    str

    Utility functions

    match
    parse
    parserPosition
    tryParse