package
0.0.0-20250212194115-ee9b0668d242
Repository: https://github.com/digitalocean/go-qemu.git
Documentation: pkg.go.dev

# Functions

All2 requires both parsers to succeed and it returns a tuple of the parsed objects.
All3 requires all three parsers to succeed and it returns a tuple of the parsed objects.
ConsumeAtLeastOne attempts to parse at least once with the given parser and then continues until it fails to parse.
Exactly consumes the exact token from the input stream or fails.
ManyOf attempts to successfully parse 0 or more times.
Map converts one parser to another parser.
MatchesToken consumes the token from the input stream if matcher returns true.
Nothing is a parser that always succeeds and doesn't consume input.
OneOf tries a list of parsers and if one of them succeeds, returns that parser.
Parse applies the given parser against the input stream.

# Variables

ErrNoMatch indicates parsing failed against the token stream.
ErrNonExhaustiveParse indicates parsing completed but there were still tokens remaining in the input stream.

# Structs

Empty is an empty type to return when a parser successfully parsed the input stream and nothing should be returned.
Seq2 is a tuple of two parsed objects.
Seq3 is a tuple of three parsed objects.

# Type aliases

Parser is a Parser function that can read an input token stream and produce the specified type or an error.