Module deserialise

Source

Enums§

Entry πŸ”’
An entry.
Error
An error that can occur reading a zone file.
MaybeWildcard πŸ”’
A regular or wildcard domain
State πŸ”’
States the tokeniser can be in

Functions§

parse_domain πŸ”’
Parse a domain name, appending the origin if it’s not absolute.
parse_domain_or_wildcard πŸ”’
Parse a regular or wildcard domain name.
parse_entry πŸ”’
Parse a single entry, skipping comments and whitespace. Entries are of the form:
parse_include πŸ”’
parse_origin πŸ”’
parse_rr πŸ”’
parse_u32 πŸ”’
Parse a decimal number into a u32.
to_rr πŸ”’
Helper for parse_rr
tokenise_entry πŸ”’
Split an entry into tokens: split on whitespace, taking quoting into account, and if there are parentheses or quotes continue to the matched delimiter.
tokenise_escape πŸ”’
Tokenise an escape sequence
try_parse_rtype_with_data πŸ”’
Try to parse a record type with data. Returns None if there is no parse, since this does not necessarily indicate a fatal error.