semanticString

Resolve exp as a compile-time known string.

semanticString
(,,
const char* s
)

Parameters

sc Scope*

scope

exp Expression

Expression which expected as a string

s 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