CxLiteral

Description

abstract class Tinman.Core.Cx.Expressions.CxLiteral

Derived from

CxNode abstract

Extended by

CxLiteralChar sealed
CxLiteralFloat sealed
CxLiteralInteger sealed
CxLiteralSimple sealed
CxLiteralString sealed

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

Public / Constructors

FromSource


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.

Public / Attributes

Type


public abstract attribute Type → (get)

value : CxTypeSimple

[not-null]
The literal data type.

Returns the data type of this literal.