CxLiteral

Description

abstract class Tinman.Core.Cx.Expressions.CxLiteral

Derived from

CxNode abstract
ICxTypeUsageProvider

Extended by

CxLiteralChar sealed
CxLiteralFloat sealed
CxLiteralInteger sealed
CxLiteralSimple sealed
CxLiteralString sealed

Abstract base for classes that represent a Code-X literal.

Public / Constructors

From​Source


public static method FromSource → (1)

source in : string

[not-null]
The source code.

returns → CxLiteral

The parsed literal.

Parses the given literal.

ValidatingException

If the syntax of source in is invalid.

See also

CxCodeUnit

Public / Attributes

Type


[Constant]
public abstract attribute Type → (get)

value : CxTypeSimple

[not-null]
The literal type.

Returns the value type of this literal.