pub enum ElementFamily {
Scalar,
String,
Bytes,
Enum,
}Expand description
A family an ELEMENT may be read under — the word operator(…) takes.
FOUR of the framework’s eight interpretation words, and the four are measured rather than
chosen. bool and duration are refused because their filter kinds carry NO OPERAND PARAMETER
— BooleanFilter’s operands are bool and DurationFilter’s are jiff::SignedDuration, so
there is no this kind over the declarer’s element for a minted filter to hold. list and set
are refused because they are COLLECTION positions rather than elements: what a collection holds
is the question its element answers, and an element mode over one would be asking a declaration
to name itself as its own member.
The refusals are BY NAME at the word, which is what keeps the vocabulary a fact a declaration can read off a message rather than a list it has to have been told.
Variants§
Scalar
A NUMBER: one totally ordered value.
String
TEXT: one string of characters, with the substring and affix questions.
Bytes
A BYTE STRING: one opaque run of bytes.
Enum
An ENUMERATION: a closed vocabulary, so membership is the whole question.