In This Article

EnumerationMemberDeclaration Class

Represents an enumeration member declaration.

public class EnumerationMemberDeclaration : TypeMemberDeclaration, IDecoratedMember, INamedTypeMember, IAstNode
Inheritance:
object AstNodeBase TypeMemberDeclaration object
Implements:
IDecoratedMember INamedTypeMember IAstNode

Remarks

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

Constructors

EnumerationMemberDeclaration()

Initializes a new instance of the EnumerationMemberDeclaration class.

public EnumerationMemberDeclaration()

Properties

Id

Gets the An integer value that identifies the type of AST node.

public override int Id { get; }

Property Value

int:

The An integer value that identifies the type of AST node.

Initializer

Gets or sets the initializer.

public Expression Initializer { get; set; }

Property Value

Expression:

The initializer.

Kind

Gets a TypeMemberDeclarationKind indicating the kind of type member.

public override sealed TypeMemberDeclarationKind Kind { get; }

Property Value

TypeMemberDeclarationKind:

A TypeMemberDeclarationKind indicating the kind of type member.

Name

Gets or sets the name.

public SimpleName Name { get; set; }

Property Value

SimpleName:

The name.

Methods

GetChildrenEnumerator()

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

protected override IEnumerator<IAstNode> GetChildrenEnumerator()

Returns

IEnumerator<IAstNode>:

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

Inherited Members