ABNF
The RFC 4234 that can be found at https://tools.ietf.org/html/rfc4234 and the RFC 5234 that can be found at https://tools.ietf.org/html/rfc5234
Summary↑
apply(grammar, rule, input, state \\ nil) | Parses an input given a gramar, looking for the given rule |
load(input) | Returns the abnf rules found in the given char list |
load_file(file) | Loads a set of abnf rules from a file |
Functions
Specs:
- apply(ABNF.Grammar.grammar, String.t, [byte], term) :: ABNF.Grammar.result
Parses an input given a gramar, looking for the given rule.
Specs:
- load([byte]) :: ABNF.Grammar.grammar
Returns the abnf rules found in the given char list.
Specs:
- load_file(String.t) :: ABNF.Grammar.grammar
Loads a set of abnf rules from a file.