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