In This Article

QualifiedName Class

Represents a qualified name.

public class QualifiedName : AstNodeBase, IAstNode, IQualifiedName
Inheritance:
Object AstNodeBase Object
Implements:
IAstNode IQualifiedName

Remarks

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

Constructors

QualifiedName()

Initializes a new instance of the QualifiedName class.

public QualifiedName()

QualifiedName(String, Boolean, SimpleName[])

Initializes a new instance of the QualifiedName class.

public QualifiedName(string alias, bool isGlobal, params SimpleName[] identifiers)
Parameter Type Description
alias String

The optional alias that indicates the root of the qualified name.

isGlobal Boolean

Whether the qualified name is rooted at the default global namespace.

identifiers SimpleName[]

The collection of identifiers for the qualified name.

Properties

Alias

Gets or sets the alias.

public string Alias { get; set; }

Property Value

String:

The alias.

ArrayRankSpecifiers

Gets the array rank specifiers.

public IList<int> ArrayRankSpecifiers { get; }

Property Value

IList<Int32>:

The array rank specifiers.

ElementName

Gets or sets the element name, if specified when this qualified name is used within a tuple.

public string ElementName { get; set; }

Property Value

String:

The element name, if specified when this qualified name is used within a tuple.

HasArrayRankSpecifiers

Returns whether the ArrayRankSpecifiers collection property contains at least one item.

public bool HasArrayRankSpecifiers { get; }

Property Value

Boolean:

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

HasIdentifiers

Returns whether the Identifiers collection property contains at least one item.

public bool HasIdentifiers { get; }

Property Value

Boolean:

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

Id

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

public override int Id { get; }

Property Value

Int32:

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

Identifiers

Gets the identifiers.

public IList<SimpleName> Identifiers { get; }

Property Value

IList<SimpleName>:

The identifiers.

IsDynamic

Gets whether the qualified name is for a dynamic object.

public bool IsDynamic { get; }

Property Value

Boolean:

true if the qualified name is for a dynamic object; otherwise, false.

IsGlobal

Gets or sets the is global.

public bool IsGlobal { get; set; }

Property Value

Boolean:

The is global.

PointerLevel

Gets or sets the pointer level.

public int PointerLevel { get; set; }

Property Value

Int32:

The pointer level.

Value

Gets or sets the string-based value for the AST node.

public override string Value { get; set; }

Property Value

String:

The string-based value for the AST node.

Methods

Clone()

Returns a deep clone of the object.

public QualifiedName Clone()

Returns

QualifiedName:

The object that was created.

CreateDynamic()

Creates a qualified name for a dynamic object.

public static QualifiedName CreateDynamic()

Returns

QualifiedName:

A qualified name for a dynamic object.

Equals(Object)

Determines whether the specified Object is equal to the current Object.

public override bool Equals(object obj)
Parameter Type Description
obj Object

The Object to compare to the current Object.

Returns

Boolean:

true if the specified Object is equal to the current Object; otherwise, false.

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.

GetHashCode()

Returns a hash code for this object.

public override int GetHashCode()

Returns

Int32:

An integer value that specifies a hash value for this object.

ToString()

Returns a String that represents the current Object.

public override string ToString()

Returns

String:

A String that represents the current Object.

Explicit Interface Implementations

IQualifiedName.Clone()

Returns a deep clone of the object.

IQualifiedName IQualifiedName.Clone()

Returns

IQualifiedName:

The object that was created.

IQualifiedName.Identifiers

Gets the collection of identifiers for the qualified name.

IList<ISimpleName> IQualifiedName.Identifiers { get; }

Returns

IList<ISimpleName>:

The collection of identifiers for the qualified name.

Inherited Members

Extension Methods