StringPartType
loreline.StringPartType (Enum)
Represents the different types of string parts that can appear in string literals.
Constructors
Raw
Raw(text: String)
Parameters:
| Name | Type |
|---|---|
text |
String |
Raw text content.
Expr
Expr(expr: loreline.NExpr)
Parameters:
| Name | Type |
|---|---|
expr |
loreline.NExpr |
Interpolated expression (${...} or $identifier).
Tag
Tag(closing: Bool, expr: loreline.NStringLiteral)
Parameters:
| Name | Type |
|---|---|
closing |
Bool |
expr |
loreline.NStringLiteral |
Text formatting tag (