- Index
- »
- fan.syntax
- »
- SyntaxStr
SyntaxStr
@Js
@Serializable
const class SyntaxStr : Obj
Syntax rules for a string or character literal
Token which delimits the end of the string, or if null, then delimiter is assumed to be both the start and end of the string
Token which delimits the start and end of the string
Can this string literal span multiple lines
Escape character placed before ending delimiter to indicate the delimiter is part of the string, not the end
const Str : delimiter
Token which delimits the start and end of the string. If the end delimiter is different, then also set the delimiterEnd field.
const Str? : delimiterEnd
Token which delimits the end of the string, or if null, then delimiter is assumed to be both the start and end of the string.
const Int : escape
Escape 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.
const Bool : multiLine
Can this string literal span multiple lines