Namespace: LLama.Native
An element of a grammar
public struct LLamaGrammarElement
Inheritance Object → ValueType → LLamaGrammarElement
Implements IEquatable<LLamaGrammarElement>
The type of this element
public LLamaGrammarElementType Type;
Unicode code point or rule ID
public uint Value;
Construct a new LLamaGrammarElement
LLamaGrammarElement(LLamaGrammarElementType type, uint value)
value UInt32
bool IsCharElement()
string ToString()
int GetHashCode()
bool Equals(object obj)
obj Object
bool Equals(LLamaGrammarElement other)
other LLamaGrammarElement