Resolve exp as a compile-time known string.
scope
Expression which expected as a string
What the string is expected for, will be used in error diagnostic.
String literal, or null if error happens.
See Implementation
Resolve exp as a compile-time known string.