peberminta - v0.10.0
    Preparing search index...

    Module core

    This is the base module of the package.

    It contains type aliases and generic parsers (not bound to a particular token type).

    Node:

    import * as p from 'peberminta';
    

    Deno:

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

    Core types

    Data
    Match
    Matcher
    NonMatch
    Parser
    Result

    Utility types

    TupleOf

    Parsers

    ab
    abc
    action
    ahead
    all
    and → all
    any
    between → middle
    chain
    chainReduce
    choice → first
    condition
    decide
    discard → skip
    eitherOr
    emit
    end
    eof → end
    error
    fail
    filter
    first
    flatten
    flatten1
    guard → filter
    last
    left
    leftAssoc1
    leftAssoc2
    longest
    lookAhead → ahead
    make
    many
    many1
    map
    map1 → mapR
    mapR
    middle
    not
    of → emit
    option
    or → first
    otherwise → eitherOr
    peek
    recursive
    reduceLeft
    reduceRight
    refine → filter
    rightAssoc1
    rightAssoc2
    satisfy
    sepBy
    sepBy1
    skip
    some → many1
    start
    takeMinMax
    takeN
    takeUntil
    takeUntilP
    takeWhile
    takeWhileP
    token

    Utility functions

    match
    parse
    parserPosition
    remainingTokensNumber
    tryParse