Pegasus.Literal (pegasus v0.2.2)

Produces a "literal" parser.

Note that the output of a "literal" parser leaves a NimbleParsec parser in the arguments list.

Literal         <- ['] < ( !['] Char  )* > ['] Spacing
                 / ["] < ( !["] Char  )* > ["] Spacing

Link to this section Summary

Link to this section Functions

Link to this function

parser(previous \\ empty())

Link to this function

to_parser(rest, list, context, _, _)