-
Notifications
You must be signed in to change notification settings - Fork 76
/
tsl_semantics.mli
50 lines (38 loc) · 2 KB
/
tsl_semantics.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Sebastien Hinderer, projet Gallium, INRIA Paris *)
(* *)
(* Copyright 2016 Institut National de Recherche en Informatique et *)
(* en Automatique. *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
(* Interpretation of TSL blocks and operations on test trees *)
open Tsl_ast
val apply_modifiers : Environments.t -> string located -> Environments.t
val interpret_environment_statement :
Environments.t -> Tsl_ast.environment_statement Tsl_ast.located ->
Environments.t
exception No_such_test_or_action of string
val lookup_test : string located -> Tests.t
type test_tree =
| Node of
(Tsl_ast.environment_statement located list) *
Tests.t *
string located list *
(test_tree list)
val test_trees_of_tsl_block :
Tsl_ast.tsl_item list ->
Tsl_ast.environment_statement located list * test_tree list
val tsl_ast_of_test_trees :
Tsl_ast.environment_statement located list * test_tree list ->
Tsl_ast.t
val tests_in_tree : Tsl_ast.t -> Tests.TestSet.t
val actions_in_test : Tests.t -> Actions.ActionSet.t
val actions_in_tests : Tests.TestSet.t -> Actions.ActionSet.t
val print_tsl_ast : compact:bool -> out_channel -> Tsl_ast.t -> unit