Is this AST parameterized? We need to know in order to hash subscription queries correctly.
(&self)
| 42 | /// Is this AST parameterized? |
| 43 | /// We need to know in order to hash subscription queries correctly. |
| 44 | pub fn has_parameter(&self) -> bool { |
| 45 | self.filter.as_ref().is_some_and(|expr| expr.has_parameter()) |
| 46 | } |
| 47 | |
| 48 | /// Replace the `:sender` parameter with the [Identity] it represents |
| 49 | pub fn resolve_sender(self, sender_identity: Identity) -> Self { |