fn split(
record: &PolicyRecord,
) -> Result<(String, Vec<Split>), DeclarationError>Expand description
A record’s statements, each on its own, with the language that
compiles them. Each engine splits its own document: the regex engine
holds one compiled statement apiece, and the Cedar engine keys a
refusal by the statement’s @id, which the tree can only report if the
statement is registered under it.