const class syntax::SyntaxStr
sys::Obj syntax::SyntaxStr
Syntax rules for a string or character literal
- delimiter
-
const Str delimiter := "\""Token which delimits the start and end of the string. If the end delimiter is different, then also set the
delimiterEndfield. - delimiterEnd
-
const Str? delimiterEndToken which delimits the end of the string, or if null, then
delimiteris assumed to be both the start and end of the string. - escape
-
const Int escapeEscape character placed before ending delimiter to indicate the delimiter is part of the string, not the end. The escape character is also assumed to escape itself.
- multiLine
-
const Bool multiLine := falseCan this string literal span multiple lines