CxType

Description

abstract class Tinman.Core.Cx.CxType

Abstract base for classes that represent a reference to a Code-X data type.

The ICxReference.Resolved property may return the following values:

Public / Constructors

From​Source


public static method FromSource → (1)

source in : string

[not-null]
The source code.

returns → CxType

The parsed type reference.

Parses the given type reference.

ValidatingException

If the syntax of source in is invalid.

See also

CxCodeUnit

Public / Methods

To​Array


public virtual method ToArray → (1)

depth opt : int32 = 1

[>=1]
The array depth, see CxTypeArray.Depth.

returns → CxTypeArray

The array type.

Creates a new instance of CxTypeArray, using this type as array element type.

Public / Attributes

Can​New


[Constant]
public virtual attribute CanNew → (get)

value : bool

true if this type may be used as ICxTypeContainer.Type,
false if not.

May this type be used with CxExpressionNew?