Struct StringBehavior

Configure string lexing behavior

struct StringBehavior ;

Fields

NameTypeDescription
behavior ubyte
compiler immutable(StringBehavior)Do not include quote characters, process escape sequences
includeQuoteChars immutable(StringBehavior)Opening quotes, closing quotes, and string suffixes are included in the string token
notEscaped immutable(StringBehavior)String escape sequences are not replaced
source immutable(StringBehavior)Not modified at all. Useful for formatters or highlighters