List of all items
Structs
- compiler::AdaptiveTokenMask
- compiler::CompiledGrammar
- compiler::GrammarCompiler
- compiler::RuleLevelCache
- converter::RegexError
- converter::SchemaError
- converter::StructuralTagItem
- fsm::CompactFsm
- fsm::CompactFsmWithStartEnd
- fsm::CompactFsmWithStartEndWithSize
- fsm::ExcludeTokenEdgeRef
- fsm::Fsm
- fsm::FsmEdge
- fsm::FsmWithStartEnd
- fsm::FsmWithStartEndWithSize
- fsm::RegexFsmBuilder
- fsm::RepeatEdgeRef
- fsm::SuffixAutomata
- fsm::TokenEdgeRef
- fsm::TrieFsmBuilder
- functor::GrammarFsmBuilder
- functor::MutatorState
- grammar::CharacterClassElement
- grammar::Grammar
- grammar::GrammarBuilder
- grammar::GrammarExpr
- grammar::Rule
- grammar::SuffixStopInfo
- grammar::TagDispatch
- grammar::TokenTagDispatch
- grammar::UnknownGrammarExprType
- matcher::BatchGrammarMatcher
- matcher::BitmaskDlType
- matcher::GrammarMatcher
- parser::CaptureEvent
- parser::CaptureOccurrence
- parser::EarleyParser
- parser::LexerError
- parser::MacroArguments
- parser::ParserError
- parser::ParserRow
- parser::ParserState
- parser::ParserStateCacheKey
- parser::RepeatDetector
- parser::RuleAttributes
- parser::Token
- support::Compact2dArray
- support::DynamicBitset
- support::RecursionGuard
- support::UnionFindSet
- tokenizer::HfMetadata
- tokenizer::TokenizerInfo
- tokenizer::UnknownVocabType
Enums
- compiler::AdaptiveTokenMaskStoreType
- compiler::CompileError
- converter::JsonFormat
- converter::LarkError
- converter::NamedGrammar
- converter::SchemaErrorKind
- converter::StructuralTagError
- fsm::EdgeKind
- functor::FunctorError
- grammar::DeserializeError
- grammar::GrammarExprType
- matcher::MatcherError
- parser::EbnfError
- parser::MacroValue
- parser::TokenType
- parser::TokenValue
- support::CharHandlingError
- support::Compact2dArrayError
- support::RecursionError
- tokenizer::TokenizerError
- tokenizer::VocabType
Traits
Functions
- config::get_serialization_version
- converter::generate_float_range_regex
- converter::generate_float_range_regex_with_options
- converter::generate_range_regex
- converter::json_schema_to_ebnf
- converter::regex_to_ebnf
- fsm::add_packed_utf8_range_edges
- fsm::codepoint_to_packed_utf8
- fsm::deserialize_compact_2d_fsm_edges
- fsm::rewrite_regex_dots
- fsm::serialize_compact_2d_fsm_edges
- functor::allow_empty_rule_ids
- functor::byte_string_fuser
- functor::dead_code_eliminator
- functor::grammar_fsm_hash_sequence
- functor::grammar_fsm_hasher
- functor::grammar_normalizer
- functor::grammar_optimizer
- functor::lookahead_assertion_analyzer
- functor::repetition_normalizer
- functor::repetition_range_expander
- functor::root_rule_renamer
- functor::rule_inliner
- functor::structure_normalizer
- matcher::allocate_token_bitmask
- matcher::apply_token_bitmask_inplace_cpu
- matcher::apply_token_bitmask_inplace_cpu_batch
- matcher::bitmask_row_range
- matcher::get_bitmask_dl_type
- matcher::get_bitmask_size
- matcher::get_masked_tokens_from_bitmask
- matcher::is_single_token_bitmask
- matcher::reset_token_bitmask
- parser::ebnf_to_grammar_no_normalization
- parser::tokenize
- support::byte_to_latin1
- support::char_to_utf8_bytes
- support::common_prefix_len
- support::escape_byte
- support::escape_bytes
- support::escape_codepoint
- support::escape_str
- support::get_max_recursion_depth
- support::handle_utf8_first_byte
- support::hash_combine
- support::hash_combine_binary
- support::hex_char_to_int
- support::intset_complement
- support::intset_difference
- support::intset_intersection
- support::intset_union
- support::latin1_to_bytes
- support::parse_json
- support::parse_next_escaped
- support::parse_next_utf8
- support::parse_next_utf8_or_escaped
- support::parse_utf8
- support::reset_recursion_depth
- support::set_max_recursion_depth
- testing::is_rule_fsm_accept_string
- testing::print_grammar_fsms
- testing::print_token_by_ids
- tokenizer::decode_token
- tokenizer::decode_token_bytes
- tokenizer::detect_metadata_from_hf
- tokenizer::metadata_to_json
Type Aliases
Constants
- VERSION
- config::SERIALIZATION_VERSION
- fsm::MAX_CHAR
- fsm::NO_NEXT_STATE
- fsm::edge_type::CHAR_RANGE
- fsm::edge_type::EOS
- fsm::edge_type::EPSILON
- fsm::edge_type::EXCLUDE_TOKEN
- fsm::edge_type::REPEAT_REF
- fsm::edge_type::RULE_REF
- fsm::edge_type::TOKEN
- grammar::NO_EXPR
- support::BITS_PER_BLOCK
- support::DEFAULT_MAX_RECURSION_DEPTH
- support::MAX_REASONABLE_RECURSION_DEPTH