Skip to main content

Module string_literals

Module string_literals 

Source
Expand description

String literal decoding helpers.

Supports:

  • simple strings: "text"
  • triple strings: """multiline"""

Structs§

ParsedStringLiteral

Functions§

parse_string_literal
Decode a parsed string literal (including surrounding quotes) into its runtime content.
parse_string_literal_with_kind
Decode a parsed string literal and report whether it used the f or c prefix.