Module Tezos_base.Point_parser

type addr_port_id = {
addr : string;
port : int option;
peer_id : P2p_peer_id.t option;
}
type parsing_error =
| Port_not_in_range of int
| Bad_id_format of string
| Bad_format
val string_of_parsing_error : parsing_error -> string
val parse_port : string option -> ( int option -> ( 'a, parsing_error ) Stdlib.result ) -> ( 'a, parsing_error ) Stdlib.result
val parse_peer_id : string option -> ( P2p_peer_id.t option -> ( 'a, parsing_error ) Stdlib.result ) -> ( 'a, parsing_error ) Stdlib.result
val parse_addr : string -> ( string -> 'a ) -> 'b
val make_full_addr : string -> string option -> string option -> ( addr_port_id, parsing_error ) Stdlib.result
val __ocaml_lex_tables : Stdlib.Lexing.lex_tables
val parse_full_addr : Stdlib.Lexing.lexbuf -> ( addr_port_id, parsing_error ) Stdlib.result
val __ocaml_lex_parse_full_addr_rec : Stdlib.Lexing.lexbuf -> int -> ( addr_port_id, parsing_error ) Stdlib.result