MCPcopy Create free account

hub / github.com/Dan-wanna-M/kbnf / types & classes

Types & classes47 in github.com/Dan-wanna-M/kbnf

↓ 30 callersClassToken
src/vocabulary.rs:23
↓ 6 callersClassRegexID
The wrapper struct that represents the regex id in the grammar.
src/grammar.rs:89
↓ 4 callersClassNonterminalID
The wrapper struct that represents the nonterminal id in the grammar.
src/grammar.rs:60
↓ 3 callersClassSuffixAutomataID
The wrapper struct that represents the suffix automata id in the grammar.
src/grammar.rs:119
↓ 2 callersClassTerminalID
The wrapper struct that represents the terminal id in the grammar.
src/grammar.rs:31
EnumAcceptTokenError
Represents the error when an [`EngineLike`] tries to accept a token.
src/engine_like.rs:17
EnumAcceptTokenResult
Represents the result after [`EngineLike`] successfully accepts a token.
src/engine_like.rs:29
ClassCompressionConfig
src/config.rs:79
ClassConfig
src/config.rs:27
EnumCreateEngineBaseError
src/engine_base.rs:283
EnumCreateEngineError
Represents the error type for the [`Engine`] creation.
src/engine.rs:56
EnumCreateGrammarError
The error type for errors in Grammar creation.
src/grammar.rs:230
EnumCreateVocabularyError
The error type for [Vocabulary] creation.
src/vocabulary.rs:65
EnumCreateVocabularyErrorJs
src/ffi_bindings.rs:74
ClassDotted
src/engine_base.rs:184
ClassDottedDebugStruct
src/engine_base.rs:219
ClassEarleyItem
src/engine_base.rs:35
ClassEarleyItemDebugStruct
src/engine_base.rs:137
ClassEngine
python/kbnf/engine.py:107
ClassEngine
The main struct that wraps the [`EngineBase`] so the user do not have to specify the generic type every time for common cases.
src/engine.rs:51
ClassEngineBase
The low-level engine struct that implements the Earley recognizer with Leo optimization and Earley sets compaction.
src/engine_base.rs:307
ClassEngineConfig
src/engine.rs:21
InterfaceEngineLike
A trait that defines the behavior of an [`EngineLike`] object.
src/engine_like.rs:72
EnumEngineUnion
An enum that represents the common type combinations of [`EngineBase`].
src/engine.rs:38
ClassFirstBytes
src/vocabulary.rs:25
EnumFsa
src/config.rs:48
EnumFsaStateStatus
src/utils.rs:15
ClassGrammar
src/grammar.rs:211
EnumHIRNode
src/grammar.rs:147
ClassInternalConfig
The internal configuration of the KBNF engine. This is intended for advanced usages.
src/config.rs:12
EnumMaskLogitsError
Represents the error when an [`EngineLike`] tries to mask logits.
src/engine_like.rs:39
EnumNonZeroError
src/zero.rs:9
EnumPostDotItems
src/engine_base.rs:225
EnumPostDotItemsDebugStruct
src/engine_base.rs:277
EnumReadRWKVVocabError
Error type when reading RWKV world model's vocabulary file.
benches/profiler.rs:12
EnumReadRWKVVocabError
Error type when reading RWKV world model's vocabulary file.
benches/simple.rs:12
EnumReadRWKVVocabError
Error type when reading RWKV world model's vocabulary file.
tests/test.rs:21
ClassRegexConfig
src/config.rs:60
EnumRegexType
src/grammar.rs:359
InterfaceSealed
src/engine_like.rs:68
ClassToBeCompletedItem
src/engine_base.rs:144
ClassToBeCompletedItemDebugStruct
src/engine_base.rs:178
ClassTokensCache
src/grammar.rs:204
EnumUpdateLogitsError
Represents the error when an [`EngineLike`] tries to update logits.
src/engine_like.rs:57
ClassVocabulary
src/vocabulary.rs:46
EnumWriteBufferError
Represents the error when an [`EngineLike`] tries to mask logits.
src/engine_like.rs:48
ClassZero
src/zero.rs:7