View Source argo_graphql_language_selection (argo v1.0.1)
Summary
Types
-type inner() :: argo_graphql_language_field:t() | argo_graphql_language_fragment_spread:t() | argo_graphql_language_inline_fragment:t().
-type t() :: #argo_graphql_language_selection{}.
Functions
-spec field(Field, Location) -> TypeDefinition when Field :: argo_graphql_language_field:t(), Location :: erl_anno:location(), TypeDefinition :: t().
-spec format(Formatter1, Type :: t()) -> Formatter2 when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec fragment_spread(FragmentSpread, Location) -> TypeDefinition when FragmentSpread :: argo_graphql_language_fragment_spread:t(), Location :: erl_anno:location(), TypeDefinition :: t().
-spec inline_fragment(InlineFragment, Location) -> TypeDefinition when InlineFragment :: argo_graphql_language_inline_fragment:t(), Location :: erl_anno:location(), TypeDefinition :: t().