In This Article

Parameter Class

An AST node for a parameter.

public class Parameter : AstNodeBase, IAstNode
Inheritance:
object AstNodeBase object
Implements:
IAstNode

Remarks

This type was generated by the Actipro Language Designer tool v26.1.0 (http://www.actiprosoftware.com).

Constructors

Parameter()

Initializes an instance of the class.

public Parameter()

Properties

AnnotationExpression

The annotation expression.

public Expression? AnnotationExpression { get; set; }

Property Value

Expression

ChildParameters

The collection of child parameters.

public IList<Parameter> ChildParameters { get; }

Property Value

IList<Parameter>

HasChildParameters

Indicates whether the ChildParameters collection property contains at least one item.

public bool HasChildParameters { get; }

Property Value

bool:

true if there is at least one item in the collection; otherwise, false.

Id

An integer value that identifies the type of AST node, if known.

public override int Id { get; }

Property Value

int

Remarks

This class' default implementation always returns 0.

InitializerExpression

The initializer expression.

public Expression? InitializerExpression { get; set; }

Property Value

Expression

Kind

The kind.

public ParameterKind Kind { get; set; }

Property Value

ParameterKind

Name

The name.

public SimpleName? Name { get; set; }

Property Value

SimpleName

Methods

GetChildrenEnumerator()

Retrieves an IEnumerator object that can iterate the child IAstNode objects in this node.

protected override IEnumerator<IAstNode>? GetChildrenEnumerator()

Returns

IEnumerator<IAstNode>

Inherited Members

Extension Methods