1Parser(3) OCaml library Parser(3)
2
3
4
6 Parser - no description
7
9 Module Parser
10
12 Module Parser
13 : sig end
14
15
16
17
18
19
20
21 type token =
22 | WITH
23 | WHILE
24 | WHEN
25 | VIRTUAL
26 | VAL
27 | UNDERSCORE
28 | UIDENT of string
29 | TYPE
30 | TRY
31 | TRUE
32 | TO
33 | TILDE
34 | THEN
35 | STRUCT
36 | STRING of (string * Location.t * string option)
37 | STAR
38 | SIG
39 | SEMISEMI
40 | SEMI
41 | RPAREN
42 | REC
43 | RBRACKET
44 | RBRACE
45 | QUOTED_STRING_ITEM of (string * Location.t * string * Location.t *
46 string option)
47 | QUOTED_STRING_EXPR of (string * Location.t * string * Location.t *
48 string option)
49 | QUOTE
50 | QUESTION
51 | PRIVATE
52 | PREFIXOP of string
53 | PLUSEQ
54 | PLUSDOT
55 | PLUS
56 | PERCENT
57 | OR
58 | OPTLABEL of string
59 | OPEN
60 | OF
61 | OBJECT
62 | NONREC
63 | NEW
64 | MUTABLE
65 | MODULE
66 | MINUSGREATER
67 | MINUSDOT
68 | MINUS
69 | METHOD
70 | MATCH
71 | LPAREN
72 | LIDENT of string
73 | LETOP of string
74 | LET
75 | LESSMINUS
76 | LESS
77 | LBRACKETPERCENTPERCENT
78 | LBRACKETPERCENT
79 | LBRACKETLESS
80 | LBRACKETGREATER
81 | LBRACKETBAR
82 | LBRACKETATATAT
83 | LBRACKETATAT
84 | LBRACKETAT
85 | LBRACKET
86 | LBRACELESS
87 | LBRACE
88 | LAZY
89 | LABEL of string
90 | INT of (string * char option)
91 | INITIALIZER
92 | INHERIT
93 | INFIXOP4 of string
94 | INFIXOP3 of string
95 | INFIXOP2 of string
96 | INFIXOP1 of string
97 | INFIXOP0 of string
98 | INCLUDE
99 | IN
100 | IF
101 | HASHOP of string
102 | HASH
103 | GREATERRBRACKET
104 | GREATERRBRACE
105 | GREATER
106 | FUNCTOR
107 | FUNCTION
108 | FUN
109 | FOR
110 | FLOAT of (string * char option)
111 | FALSE
112 | EXTERNAL
113 | EXCEPTION
114 | EQUAL
115 | EOL
116 | EOF
117 | END
118 | ELSE
119 | DOWNTO
120 | DOTOP of string
121 | DOTDOT
122 | DOT
123 | DONE
124 | DOCSTRING of Docstrings.docstring
125 | DO
126 | CONSTRAINT
127 | COMMENT of (string * Location.t)
128 | COMMA
129 | COLONGREATER
130 | COLONEQUAL
131 | COLONCOLON
132 | COLON
133 | CLASS
134 | CHAR of char
135 | BEGIN
136 | BARRBRACKET
137 | BARBAR
138 | BAR
139 | BANG
140 | BACKQUOTE
141 | ASSERT
142 | AS
143 | ANDOP of string
144 | AND
145 | AMPERSAND
146 | AMPERAMPER
147
148
149
150
151
152 exception Error
153
154
155
156
157
158 val use_file : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
159 tree.toplevel_phrase list
160
161
162
163
164 val toplevel_phrase : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
165 Parsetree.toplevel_phrase
166
167
168
169
170 val parse_val_longident : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
171 Longident.t
172
173
174
175
176 val parse_pattern : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
177 tree.pattern
178
179
180
181
182 val parse_mty_longident : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
183 Longident.t
184
185
186
187
188 val parse_mod_longident : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
189 Longident.t
190
191
192
193
194 val parse_mod_ext_longident : (Lexing.lexbuf -> token) -> Lexing.lexbuf
195 -> Longident.t
196
197
198
199
200 val parse_expression : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
201 Parsetree.expression
202
203
204
205
206 val parse_core_type : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
207 Parsetree.core_type
208
209
210
211
212 val parse_constr_longident : (Lexing.lexbuf -> token) -> Lexing.lexbuf
213 -> Longident.t
214
215
216
217
218 val parse_any_longident : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
219 Longident.t
220
221
222
223
224 val interface : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
225 tree.signature
226
227
228
229
230 val implementation : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
231 Parsetree.structure
232
233
234
235 module MenhirInterpreter : sig end
236
237
238
239
240 module Incremental : sig end
241
242
243
244
245
246
247
248OCamldoc 2021-01-26 Parser(3)