QualifiedName Class
An AST node for 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 v26.1.0 (http://www.actiprosoftware.com).
Constructors
QualifiedName()
Initializes an instance of the class.
public QualifiedName()
QualifiedName(string?, bool, params SimpleName[])
Initializes an instance of the 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 | bool | Whether the qualified name is rooted at the default global namespace. |
| identifiers | SimpleName[] | The collection of identifiers for the qualified name. |
Properties
Alias
The alias.
ArrayRankSpecifiers
The collection of array rank specifiers.
ElementName
The element name, if specified when this qualified name is used within a tuple.
HasArrayRankSpecifiers
Indicates whether the ArrayRankSpecifiers collection property contains at least one item.
public bool HasArrayRankSpecifiers { get; }
Property Value
- bool:
trueif there is at least one item in the collection; otherwise,false.
HasIdentifiers
Indicates whether the Identifiers collection property contains at least one item.
public bool HasIdentifiers { get; }
Property Value
- bool:
trueif 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
Remarks
This class' default implementation always returns 0.
Identifiers
The collection of identifiers.
IsDynamic
Indicates whether the qualified name is for a dynamic object.
IsGlobal
The is global.
PointerLevel
The pointer level.
Value
The string-based value for the AST node.
Methods
Clone()
Returns a deep clone of the object.
CreateDynamic()
Creates 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 with the current object. |
Returns
- bool:
trueif 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.
GetHashCode()
Serves as the default hash function.
ToString()
Returns the string representation of this object.
Inherited Members
- AstNodeBase.Contains(int)
- AstNodeBase.FindChildNode(int)
- AstNodeBase.FindDescendantNode(int)
- AstNodeBase.ToTreeString(int)
- AstNodeBase.Children
- AstNodeBase.EndOffset
- AstNodeBase.HasChildren
- AstNodeBase.Length
- AstNodeBase.Parent
- AstNodeBase.Root
- AstNodeBase.StartOffset
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object, object)
- object.ReferenceEquals(object, object)