aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sublanguage_types.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-05-18 12:35:26 -0300
committerGitHub <noreply@github.com>2026-05-18 12:35:26 -0300
commitcf0fffed43d0ca7618cd0013411151e057b7a32a (patch)
tree35915aee3f7160b9ff6b41c3c0502b34050f642c /lib/sublanguage_types.ml
parente3d3e20dfea253de291d5b31059cd55c0eaabf02 (diff)
downloadSakura-cf0fffed43d0ca7618cd0013411151e057b7a32a.tar.gz
Sakura-cf0fffed43d0ca7618cd0013411151e057b7a32a.zip
RNT interface
Co-authored-by: Estevan Castilho <tevo@riajuu.net>
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