aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sublanguage_types.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sublanguage_types.ml')
-rw-r--r--lib/sublanguage_types.ml7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/sublanguage_types.ml b/lib/sublanguage_types.ml
index 743cb7f..3d2b5cc 100644
--- a/lib/sublanguage_types.ml
+++ b/lib/sublanguage_types.ml
@@ -4,9 +4,14 @@ type cursor_result = {
has_more : bool;
}
+(** A Transition delta names every multigroup that the statement touched and
+ the updated value for each. Most statements yield a single-element list;
+ VCL/SCL/ICL statements may touch more than one. *)
+type transition_delta = (string * Management.Multigroup.multigroup) list
+
type result =
| Query of Relation.relation
- | Transition of Management.Multigroup.multigroup
+ | Transition of transition_delta
| Cursor of cursor_result
| SessionSwitch of string
| CreateMultigroup of string