View Source argo_core (argo v1.0.2)
Summary
Types
-type labeled_type() :: {backreference, argo_types:backreference()} | {length, argo_types:length()}.
-type nullable_type() :: null | non_null | error.
-type omittable_type() :: absent | non_null.
Functions
-spec absent() -> absent.
-spec backreference(Backreference) -> {backreference, Backreference} when Backreference :: argo_types:backreference().
-spec error() -> error.
-spec is_absent(OmittableType) -> boolean() when OmittableType :: omittable_type().
-spec is_backreference(LabeledType) -> boolean() when LabeledType :: labeled_type().
-spec is_error(NullableType) -> boolean() when NullableType :: nullable_type().
-spec is_length(LabeledType) -> boolean() when LabeledType :: labeled_type().
-spec is_non_null(NullableType | OmittableType) -> boolean() when NullableType :: nullable_type(), OmittableType :: omittable_type().
-spec is_null(NullableType) -> boolean() when NullableType :: nullable_type().
-spec length(Length) -> {length, Length} when Length :: argo_types:length().
-spec non_null() -> non_null.
-spec null() -> null.