diameter_dict_scanner

Functions


scan(B::string() | binary()) -> {ok, [Token]} | {error, {string(), string(), Lineno}}

  • Token = {word, Lineno, string()} | {number, Lineno, non_neg_integer()} | {Symbol, Lineno}
  • Lineno = pos_integer()
  • Symbol = '{' | '}' | '<' | '>' | '[' | ']' | '*' | '::=' | ':' | ',' | '-' | avp_types | avp_vendor_id | codecs | custom_types | define | grouped | id | inherits | messages | name | prefix | vendor | '$end' | code | 'answer-message' | 'AVP' | 'AVP-Header' | 'Diameter' | 'Diameter-Header' | 'Header' | 'REQ' | 'PXY' | 'ERR'

format_error(X1) -> term()

is_name(T) -> term()