summaryrefslogtreecommitdiff
path: root/src/initial_check_full_ast.mli
blob: 7c831a67f057bf71f90159b5fffaaf39b8b8fb03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
open Ast
open Type_internal
type kind = Type_internal.kind
type typ = Type_internal.t

(*Envs is a tuple of used names (currently unused), map from id to kind, default order for vector types and literal vectors *)
type envs = Nameset.t * kind Envmap.t * Ast.order 
type 'a envs_out = 'a * envs

val to_checked_ast : Nameset.t -> kind Envmap.t -> Ast.order -> tannot defs -> tannot defs * kind Envmap.t * Ast.order
val to_exp : kind Envmap.t -> Ast.order -> exp -> exp