isStringLiteral
fn
bool isStringLiteral(const(char)[] literal, out char stringCloseChar,
out bool hasPostfix, out bool parseEscapes, out int prefixLength)Checks if a string literal input has correct start/end sequences (quotes) to be any kind of D string literal.
Bugs
doesn't check for validity of token strings.
Standards
fn
bool isStringLiteral(const(char)[] literal)ditto