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.
ArrayRankSpecifiers
Gets the array rank specifiers.
public IList<int> ArrayRankSpecifiers { get; }
Property Value
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.
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.
PointerLevel
Gets or sets 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.
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 |
Returns
- 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
- 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
.
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
- 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
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetType()
- Object.MemberwiseClone()