CxExpressionName

Description

sealed class Tinman.Core.Cx.Expressions.CxExpressionName

An expression that refers to a local variable, parameter or member with a name identifier, while optionally providing one or more type arguments for specialization of a generic type or member:

name
name<Type0, Type1, ..., TypeN>

The ICxReference.Resolved property may return the following values:

ICxTypesContainer.Types returns the generic type arguments. If the argument list is empty, the name references a non-generic type or member. Otherwise, the name refers to a specialization of a generic type or member.

Public / Constructors

Cx​Expression​Name


public constructor CxExpressionName → (2)

name in : CxId

See Name.

types opt : IBagConst<CxType> = null

The generic type argument list or null to specify an empty list. See ICxTypesContainer.Types.

Creates a new instance of CxExpressionName.

Public / Methods

Add


public method Add → (1)

type in : CxType

[not-null]
The type parameter to append.

returns → CxType

The appended CxType object.

Appends the given type parameter.

Public / Attributes

Name


public attribute Name → (get,set)

value : CxId

The name identifier.

Returns the name identifier.