QualifiedName Class
Represents a qualified name.
public class QualifiedName : AstNodeBase, IAstNode, IQualifiedName
- Inheritance:
- System.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 | System.String | The optional alias that indicates the root of the qualified name. |
isGlobal | System.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
- System.String:
The alias.
ArrayRankSpecifiers
Gets the array rank specifiers.
public IList<int> ArrayRankSpecifiers { get; }
Property Value
- System.Collections.Generic.IList<System.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
- System.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
- System.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
- System.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
- System.Int32:
The An integer value that identifies the type of AST node.
Identifiers
Gets the identifiers.
public IList<SimpleName> Identifiers { get; }
Property Value
- System.Collections.Generic.IList<SimpleName>:
The identifiers.
IsDynamic
Gets whether the qualified name is for a dynamic object.
public bool IsDynamic { get; }
Property Value
- System.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
- System.Boolean:
The is global.
PointerLevel
Gets or sets the pointer level.
public int PointerLevel { get; set; }
Property Value
- System.Int32:
The pointer level.
Value
Gets or sets the string-based value for the AST node.
public override string Value { get; set; }
Property Value
- System.String:
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.
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 | System.Object | The |
Returns
- System.Boolean:
true
if the specifiedObject
is equal to the currentObject
; otherwise,false
.
GetChildrenEnumerator()
Retrieves an IEnumerator
object that can iterate the child IAstNode objects in this node.
protected override IEnumerator<IAstNode> GetChildrenEnumerator()
Returns
GetHashCode()
Returns a hash code for this object.
public override int GetHashCode()
Returns
- System.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
- System.String:
A
String
that represents the currentObject
.
Explicit Interface Implementations
IQualifiedName.Clone()
Returns a deep clone of the object.
IQualifiedName.Identifiers
Gets the collection of identifiers for the qualified name.
IList<ISimpleName> IQualifiedName.Identifiers { get; }
Returns
- System.Collections.Generic.IList<ISimpleName>:
The collection of identifiers for the qualified name.
Inherited Members
- AstNodeBase.Contains(Int32)
- AstNodeBase.FindChildNode(Int32)
- AstNodeBase.FindDescendantNode(Int32)
- AstNodeBase.ToTreeString(Int32)
- AstNodeBase.Children
- AstNodeBase.EndOffset
- AstNodeBase.HasChildren
- AstNodeBase.Length
- AstNodeBase.Parent
- AstNodeBase.Root
- AstNodeBase.StartOffset
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetType()
- System.Object.MemberwiseClone()