Class Declaration
Rule element declaration.
public sealed class Declaration : IEquatable<Declaration>
- Inheritance
-
Declaration
- Implements
- Inherited Members
- Extension Methods
Properties
Name
Symbol name.
public string Name { get; }
Property Value
Target
Rule element that this declaration is referencing.
public RuleElement Target { get; }
Property Value
Type
Symbol type.
public Type Type { get; }
Property Value
Methods
Equals(Declaration)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Declaration other)
Parameters
other
DeclarationAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.