Class UniqueTag
A base class for unique tags: identifiers for values that have a name and use referential equality instead of structural equality.
Inherited Members
Namespace: Flame.Compiler
Assembly: Flame.Compiler.dll
Syntax
public abstract class UniqueTag
Constructors
| Edit this page View SourceUniqueTag()
Creates a new unique tag.
Declaration
public UniqueTag()
UniqueTag(string)
Creates a new unique tag.
Declaration
public UniqueTag(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The tag's name. |
Properties
| Edit this page View SourceName
Gets the (preferred) name for this tag.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string | The tag's name. |
Methods
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |