CxDeclaration

Description

abstract class Tinman.Core.Cx.Declarations.CxDeclaration

Abstract base for classes that represent a type declaration.

Public / Constructors

From​Source


public static method FromSource → (1)

source in : string

[not-null]
The source code.

returns → CxDeclaration

The parsed type declaration.

Parses the given type declaration.

ValidatingException

If the syntax of source in is invalid.

See also

CxCodeUnit

Public / Methods

As​Type


[Constant]
public virtual method AsType → ()

returns → CxType

The type.

Returns a CxType that refers to this declaration.

Protected / Constructors

Cx​Declaration


protected constructor CxDeclaration → (4)

xmlDoc in : CxXmlDoc

See ICxXmlDocContainer.XmlDoc.

attributes in : IBagConst<CxAttribute>

The attribute list of the member or null for an empty list. See ICxAttributesContainer.Attributes.

modifiers in : CxModifiers

See ICxModifiersContainer.Modifiers.

name in : CxId

See ICxIdContainer.Name.

Creates a new instance of CxDeclaration.

Protected / Attributes

Is​Nullable


protected abstract attribute IsNullable → (get)

value : bool

true if this type is nullable,
false if it is non-nullable.

Is this type nullable?