module GraphQL::Language::Lexer

def self.replace_escaped_characters_in_place(raw_string)

To avoid allocating more strings, this modifies the string passed into it
Replace any escaped unicode or whitespace with the _actual_ characters
def self.replace_escaped_characters_in_place(raw_string)
  raw_string.gsub!(ESCAPES, ESCAPES_REPLACE)
  raw_string.gsub!(UTF_8, &UTF_8_REPLACE)
  nil
end