View Source argo_wire_path (argo v1.0.10)
Summary
Types
-type segment() :: argo_types:usize().
-type segment_list() :: [segment()].
-type t() :: #argo_wire_path{segments :: array:array(argo_wire_path:segment())}.
Functions
-spec from_list(SegmentList) -> WirePath when SegmentList :: segment_list(), WirePath :: t().
-spec new() -> WirePath when WirePath :: t().
-spec size(WirePath) -> non_neg_integer() when WirePath :: t().
-spec to_list(WirePath) -> SegmentList when WirePath :: t(), SegmentList :: segment_list().
-spec to_path_value(WirePath, WireType) -> PathValue when WirePath :: t(), WireType :: argo_wire_type:t(), PathValue :: argo_path_value:t().