Module dparse.strings

Utility for unescaping D string literals of any kind

Functions

NameDescription
isStringLiteral(literal) Checks if a string literal input has correct start/end sequences (quotes) to be any kind of D string literal.
unescapeString(input) Unescapes a D string, effectively being the same as mixing in the string into some function call, but only for single string literals.

Enums

NameDescription
InvalidEscapeAction Defines different handler types what to do when invalid escape sequences are found inside unescapeString.