Deletes all expressions that reference the given variable ID, including their subtrees. Operator collapse runs after each removal.
The variable ID whose referencing expressions should be removed.
The removed expressions and changeset.
Returns the set of variable IDs referenced by expressions in this
premise. Only variables that appear in type: "variable" expression
nodes are included.
A Set of referenced variable ID strings.
Returns all argument-level variables (from the shared VariableManager) sorted by ID. Since the VariableManager is shared across all premises, this returns every registered variable — not just those referenced by expressions in this premise.
An array of variable entities.
Variable reference queries and cascade deletion.