semanticString

Resolve exp as a compile-time known string.

semanticString
(,,
const char* s
)

Parameters

sc
Type: Scope*

scope

exp

Expression which expected as a string

s
Type: char*

What the string is expected for, will be used in error diagnostic.

Return Value

Type: StringExp

String literal, or null if error happens.

Meta