nodeId method

Parser<NodeId> nodeId()

A complete node_id.

Implementation

Parser<NodeId> nodeId() =>
    (ref0(id) & ref0(port).optional()).map((result) => NodeId(result[0], result[1]));