1Asttypes(3)                      OCaml library                     Asttypes(3)
2
3
4

NAME

6       Asttypes - Auxiliary AST types used by parsetree and typedtree.
7

Module

9       Module   Asttypes
10

Documentation

12       Module Asttypes
13        : sig end
14
15
16       Auxiliary AST types used by parsetree and typedtree.
17
18       Warning: this module is unstable and part of Compiler_libs .
19
20
21
22
23
24       type constant =
25        | Const_int of int
26        | Const_char of char
27        | Const_string of string * Location.t * string option
28        | Const_float of string
29        | Const_int32 of int32
30        | Const_int64 of int64
31        | Const_nativeint of nativeint
32
33
34
35
36       type rec_flag =
37        | Nonrecursive
38        | Recursive
39
40
41
42
43       type direction_flag =
44        | Upto
45        | Downto
46
47
48
49
50       type private_flag =
51        | Private
52        | Public
53
54
55
56
57       type mutable_flag =
58        | Immutable
59        | Mutable
60
61
62
63
64       type virtual_flag =
65        | Virtual
66        | Concrete
67
68
69
70
71       type override_flag =
72        | Override
73        | Fresh
74
75
76
77
78       type closed_flag =
79        | Closed
80        | Open
81
82
83
84
85       type label = string
86
87
88
89
90       type arg_label =
91        | Nolabel
92        | Labelled of string
93        | Optional of string
94
95
96
97
98       type 'a loc = 'a Location.loc = {
99        txt : 'a ;
100        loc : Location.t ;
101        }
102
103
104
105
106       type variance =
107        | Covariant
108        | Contravariant
109        | Invariant
110
111
112
113
114
115
116
117OCamldoc                          2021-01-26                       Asttypes(3)
Impressum