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 Equals(LLamaGrammarElement other)
other LLamaGrammarElement
bool Equals(object obj)
obj Object
int GetHashCode()
bool IsCharElement()