View Source argo_graphql_language_value_const (argo v1.0.0)
Summary
Types
-type inner() :: null | {float, float()} | {int, integer()} | {string, argo_graphql_language_string_value:t()} | {boolean, boolean()} | {enum, argo_graphql_language_enum_value:t()} | {list, argo_graphql_language_list_value_const:t()} | {object, argo_graphql_language_object_value_const:t()}.
-type t() :: #argo_graphql_language_value_const{}.
Functions
-spec boolean(Boolean, Location) -> ConstValue when Boolean :: boolean(), Location :: erl_anno:location(), ConstValue :: t().
-spec enum(EnumValue, Location) -> ConstValue when EnumValue :: argo_graphql_language_enum_value:t(), Location :: erl_anno:location(), ConstValue :: t().
-spec float(Float, Location) -> ConstValue when Float :: float(), Location :: erl_anno:location(), ConstValue :: t().
-spec format(Formatter1, Type :: t()) -> Formatter2 when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec int(Int, Location) -> ConstValue when Int :: integer(), Location :: erl_anno:location(), ConstValue :: t().
-spec list(ListValueConst, Location) -> ConstValue when ListValueConst :: argo_graphql_language_list_value_const:t(), Location :: erl_anno:location(), ConstValue :: t().
-spec null(Location) -> ConstValue when Location :: erl_anno:location(), ConstValue :: t().
-spec object(ObjectValueConst, Location) -> ConstValue when ObjectValueConst :: argo_graphql_language_object_value_const:t(), Location :: erl_anno:location(), ConstValue :: t().
-spec string(String, Location) -> ConstValue when String :: unicode:unicode_binary(), Location :: erl_anno:location(), ConstValue :: t().