forked from ocaml-flambda/flambda-backend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsl_semantics.mli
47 lines (36 loc) · 1.92 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
(**************************************************************************)
(* *)
(* 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
val interpret_environment_statements :
Environments.t -> Tsl_ast.environment_statement Tsl_ast.located list ->
Environments.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_block ->
Tsl_ast.environment_statement located list * test_tree list
val tests_in_tree : test_tree -> Tests.TestSet.t
val tests_in_trees : test_tree list -> Tests.TestSet.t
val actions_in_test : Tests.t -> Actions.ActionSet.t
val actions_in_tests : Tests.TestSet.t -> Actions.ActionSet.t