Enum cranelift_isle::trie::TrieNode
source · pub enum TrieNode {
Decision {
edges: Vec<TrieEdge>,
},
Leaf {
prio: Prio,
output: ExprSequence,
},
Empty,
}
Expand description
A node in the term trie.
Variants§
Decision
One or more patterns could match.
Maybe one pattern already has matched, but there are more (higher priority and/or same priority but more specific) patterns that could still match.
Leaf
Fields
§
output: ExprSequence
The RHS expression to evaluate upon a successful LHS pattern match.
The successful match of an LHS pattern, and here is its RHS expression.
Empty
No LHS pattern matches.