Class PointerName
Defines a poiner name: a qualified name that is turned into a pointer.
Inherited Members
Namespace: Flame
Assembly: Flame.dll
Syntax
public class PointerName : UnqualifiedName, IEquatable<UnqualifiedName>, IEquatable<PointerName>
Constructors
| Edit this page View SourcePointerName(QualifiedName, PointerKind)
Creates a pointer name from a qualified name and a pointer kind.
Declaration
public PointerName(QualifiedName elementName, PointerKind kind)
Parameters
| Type | Name | Description |
|---|---|---|
| QualifiedName | elementName | The name of the element type in this pointer name. |
| PointerKind | kind | The kind of pointer named by this pointer name. |
Properties
| Edit this page View SourceElementName
Gets the qualified name that is turned into a pointer.
Declaration
public QualifiedName ElementName { get; }
Property Value
| Type | Description |
|---|---|
| QualifiedName |
Kind
Gets this pointer name's pointer kind.
Declaration
public PointerKind Kind { get; }
Property Value
| Type | Description |
|---|---|
| PointerKind |
Methods
| Edit this page View SourceEquals(PointerName)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(PointerName other)
Parameters
| Type | Name | Description |
|---|---|---|
| PointerName | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
Equals(UnqualifiedName)
Checks if this unqualified name equals another unqualified name.
Declaration
public override bool Equals(UnqualifiedName Other)
Parameters
| Type | Name | Description |
|---|---|---|
| UnqualifiedName | Other |
Returns
| Type | Description |
|---|---|
| bool |
|
Overrides
| Edit this page View SourceGetHashCode()
Gets a hash code for this unqualified name.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code. |
Overrides
| Edit this page View SourceToString()
Gets a string representation for this unqualified name.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string representation. |