View Source argo_graphql_language_string_value (argo v1.0.0)

Summary

Types

Link to this type

string_character_escape_options/0

View Source
-type string_character_escape_options() :: #{legacy => boolean(), 'case' => lowercase | uppercase}.
-type t() :: unicode:unicode_binary().

Functions

Link to this function

format(Formatter1, Type)

View Source
-spec format(Formatter1, Type :: t()) -> Formatter2
          when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec format_error(dynamic(), dynamic()) -> dynamic().
Link to this function

string_character_escape(Character)

View Source
-spec string_character_escape(Character :: char()) -> unicode:unicode_binary().
Link to this function

string_character_escape(Character, Options)

View Source
-spec string_character_escape(Character :: char(), Options :: string_character_escape_options()) ->
                           unicode:unicode_binary().
Link to this function

string_value_escape(StringValue)

View Source
-spec string_value_escape(StringValue) -> EscapedStringValue
                       when
                           StringValue :: unicode:unicode_binary(),
                           EscapedStringValue :: unicode:unicode_binary().
Link to this function

string_value_escape(StringValue, Options)

View Source
-spec string_value_escape(StringValue, Options) -> EscapedStringValue
                       when
                           StringValue :: unicode:unicode_binary(),
                           Options :: string_character_escape_options(),
                           EscapedStringValue :: unicode:unicode_binary().
Link to this function

string_value_unescape(EscapedStringValue)

View Source
-spec string_value_unescape(EscapedStringValue) -> StringValue
                         when
                             EscapedStringValue :: unicode:unicode_binary(),
                             StringValue :: unicode:unicode_binary().