Pegasus.Identifier (pegasus v0.2.2)

Produces a "identifier" parser.

the make_parser option should be set to false (default) when the identifier is being assigned, and true when the identifier is being used as part of a parser sequence.

Identifier      <- < IdentStart IdentCont* > Spacing
IdentStart      <- [a-zA-Z_]
IdentCont       <- IdentStart / [0-9]

Link to this section Summary

Link to this section Functions

Link to this function

parser(previous, make_parser \\ false)

Link to this function

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