View Source argo_graphql_language_type (argo v1.0.8)
Summary
Types
-type inner() :: argo_graphql_language_named_type:t() | argo_graphql_language_list_type:t() | argo_graphql_language_non_null_type:t().
-type t() :: #argo_graphql_language_type{location :: erl_anno:location(), inner :: argo_graphql_language_type:inner()}.
Functions
-spec format(Formatter1, Type :: t()) -> Formatter2 when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec list_type(ListType, Location) -> Type when ListType :: argo_graphql_language_list_type:t(), Location :: erl_anno:location(), Type :: t().
-spec named_type(NamedType, Location) -> Type when NamedType :: argo_graphql_language_named_type:t(), Location :: erl_anno:location(), Type :: t().
-spec non_null_type(NonNullType, Location) -> Type when NonNullType :: argo_graphql_language_non_null_type:t(), Location :: erl_anno:location(), Type :: t().