CxLiteralString

Description

sealed class Tinman.Core.Cx.Expressions.CxLiteralString

Derived from

CxLiteral abstract

A literal that represents a string value:

"Regular string literal (escape sequences: \\, \", \0, \', \b, \f, \n, \r, \t, \uFFFF)"
@"Verbatim string literal (escape sequences: "", \uFFFF)"

Public / Constants

Escape


public static readonly attribute Escape → (StringEscape)

The escaping rules for verbatim string literals.

See rule escape of CxCodeUnit.

Public / Constructors

Cx​Literal​String


public constructor CxLiteralString → (2)

value in : string

[not-null]
See Value.

verbatim in : bool

See IsVerbatim.

Creates a new instance of CxLiteralSimple.

Public / Attributes

Is​Verbatim


[Constant]
public attribute IsVerbatim → (get)

value : bool

true if this is a verbatim string literal,
false if it is a regular string literal.

Is this a verbatim string literal?

Value


[Constant]
public attribute Value → (get)

value : string

[not-null]
The string value.

The literal value.