CxParameter

Description

sealed class Tinman.Core.Cx.Declarations.CxParameter

Represents a parameter of a method or delegate:

[A] int a
|   \____ Variable
\____ Attributes

ref Type a
out Type a
\____ Semantic

this Type a
\____ IsThis

Public / Constructors

CxParameter


public constructor CxParameter → (4)

variable in : CxVariable

[not-null]
See Variable.

semantic opt : int32 = 1

See ICxSemanticContainer.Semantic.

isThis opt : bool = false

See IsThis.

attributes opt : IVector<CxAttribute> = null

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

Creates a new instance of CxParameter.

Public / Attributes

IsThis


public attribute IsThis → (get)

value : bool

true if this parameter if the this argument,
false if not.

Is this parameter the special this argument?

Variable


public attribute Variable → (get)

value : CxVariable

[not-null]
The variable declaration or definition.

Returns the variable declaration or definition of this parameter.