Module zero_copy

Module zero_copy 

Source

Structs§

Module
A parsed module declaration with zero-copy slices
Operator
A parsed operator with zero-copy slice
Rule
A rule split result with zero-copy slices
RuleHeader
A parsed rule header with zero-copy string slices
WhenThen
A parsed when-then block with zero-copy slices

Functions§

extract_salience_zero_copy
Extract salience value without string allocation
has_attribute_zero_copy
Check if attribute exists without allocation
parse_module_zero_copy
Parse module declaration without allocations
parse_operator_zero_copy
Parse operator without allocations
parse_rule_header_zero_copy
Parse rule header without allocations
parse_when_then_zero_copy
Parse when-then without allocations
split_into_rules_zero_copy
Split GRL text into rules without allocations