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 | AMPERAMPER
23 | AMPERSAND
24 | AND
25 | AS
26 | ASSERT
27 | BACKQUOTE
28 | BANG
29 | BAR
30 | BARBAR
31 | BARRBRACKET
32 | BEGIN
33 | CHAR of char
34 | CLASS
35 | COLON
36 | COLONCOLON
37 | COLONEQUAL
38 | COLONGREATER
39 | COMMA
40 | CONSTRAINT
41 | DO
42 | DONE
43 | DOT
44 | DOTDOT
45 | DOWNTO
46 | ELSE
47 | END
48 | EOF
49 | EQUAL
50 | EXCEPTION
51 | EXTERNAL
52 | FALSE
53 | FLOAT of (string * char option)
54 | FOR
55 | FUN
56 | FUNCTION
57 | FUNCTOR
58 | GREATER
59 | GREATERRBRACE
60 | GREATERRBRACKET
61 | IF
62 | IN
63 | INCLUDE
64 | INFIXOP0 of string
65 | INFIXOP1 of string
66 | INFIXOP2 of string
67 | INFIXOP3 of string
68 | INFIXOP4 of string
69 | DOTOP of string
70 | INHERIT
71 | INITIALIZER
72 | INT of (string * char option)
73 | LABEL of string
74 | LAZY
75 | LBRACE
76 | LBRACELESS
77 | LBRACKET
78 | LBRACKETBAR
79 | LBRACKETLESS
80 | LBRACKETGREATER
81 | LBRACKETPERCENT
82 | LBRACKETPERCENTPERCENT
83 | LESS
84 | LESSMINUS
85 | LET
86 | LIDENT of string
87 | LPAREN
88 | LBRACKETAT
89 | LBRACKETATAT
90 | LBRACKETATATAT
91 | MATCH
92 | METHOD
93 | MINUS
94 | MINUSDOT
95 | MINUSGREATER
96 | MODULE
97 | MUTABLE
98 | NEW
99 | NONREC
100 | OBJECT
101 | OF
102 | OPEN
103 | OPTLABEL of string
104 | OR
105 | PERCENT
106 | PLUS
107 | PLUSDOT
108 | PLUSEQ
109 | PREFIXOP of string
110 | PRIVATE
111 | QUESTION
112 | QUOTE
113 | RBRACE
114 | RBRACKET
115 | REC
116 | RPAREN
117 | SEMI
118 | SEMISEMI
119 | HASH
120 | HASHOP of string
121 | SIG
122 | STAR
123 | STRING of (string * string option)
124 | STRUCT
125 | THEN
126 | TILDE
127 | TO
128 | TRUE
129 | TRY
130 | TYPE
131 | UIDENT of string
132 | UNDERSCORE
133 | VAL
134 | VIRTUAL
135 | WHEN
136 | WHILE
137 | WITH
138 | COMMENT of (string * Location.t)
139 | DOCSTRING of Docstrings.docstring
140 | EOL
141
142
143
144
145
146 val implementation : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
147 Parsetree.structure
148
149
150
151
152 val interface : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
153 tree.signature
154
155
156
157
158 val toplevel_phrase : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
159 Parsetree.toplevel_phrase
160
161
162
163
164 val use_file : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
165 tree.toplevel_phrase list
166
167
168
169
170 val parse_core_type : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
171 Parsetree.core_type
172
173
174
175
176 val parse_expression : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
177 Parsetree.expression
178
179
180
181
182 val parse_pattern : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
183 tree.pattern
184
185
186
187
188
189
190OCamldoc 2018-07-14 Parser(3)