GrammarRule
Namespace: LLama.Grammars
A single rule in a Grammar
1 |
|
Inheritance Object → GrammarRule
Implements IEquatable<GrammarRule>
Properties
Name
Name of this rule
1 |
|
Property Value
Elements
The elements of this grammar rule
1 |
|
Property Value
IReadOnlyList<LLamaGrammarElement>
Constructors
GrammarRule(String, IReadOnlyList<LLamaGrammarElement>)
Create a new GrammarRule containing the given elements
1 |
|
Parameters
name
String
elements
IReadOnlyList<LLamaGrammarElement>
Exceptions
Methods
ToString()
1 |
|
Returns
GetHashCode()
1 |
|
Returns
Equals(Object)
1 |
|
Parameters
obj
Object
Returns
Equals(GrammarRule)
1 |
|
Parameters
other
GrammarRule
Returns
<Clone>$()
1 |
|