An NDoc Documented Class Library

Rule Members

Rule overview

Public Instance Constructors

Rule Constructor Creates a new instance of Rule class.

Public Instance Properties

ContainsOneNonTerminal Gets true if the rule contains exactly one symbol.
Count Gets number of symbols.
Definition Gets the rule definition.
Index Gets index of the rule in the rule table.
Item Gets symbol by its index.
Name Gets name of the rule.
NonTerminal Gets the head symbol of the rule.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString Returns the Backus-Noir representation of the rule.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Rule Class | GoldParser Namespace