1Parser(3) OCamldoc 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 | INHERIT
70 | INITIALIZER
71 | INT of (string * char option)
72 | LABEL of string
73 | LAZY
74 | LBRACE
75 | LBRACELESS
76 | LBRACKET
77 | LBRACKETBAR
78 | LBRACKETLESS
79 | LBRACKETGREATER
80 | LBRACKETPERCENT
81 | LBRACKETPERCENTPERCENT
82 | LESS
83 | LESSMINUS
84 | LET
85 | LIDENT of string
86 | LPAREN
87 | LBRACKETAT
88 | LBRACKETATAT
89 | LBRACKETATATAT
90 | MATCH
91 | METHOD
92 | MINUS
93 | MINUSDOT
94 | MINUSGREATER
95 | MODULE
96 | MUTABLE
97 | NEW
98 | NONREC
99 | OBJECT
100 | OF
101 | OPEN
102 | OPTLABEL of string
103 | OR
104 | PERCENT
105 | PLUS
106 | PLUSDOT
107 | PLUSEQ
108 | PREFIXOP of string
109 | PRIVATE
110 | QUESTION
111 | QUOTE
112 | RBRACE
113 | RBRACKET
114 | REC
115 | RPAREN
116 | SEMI
117 | SEMISEMI
118 | HASH
119 | HASHOP of string
120 | SIG
121 | STAR
122 | STRING of (string * string option)
123 | STRUCT
124 | THEN
125 | TILDE
126 | TO
127 | TRUE
128 | TRY
129 | TYPE
130 | UIDENT of string
131 | UNDERSCORE
132 | VAL
133 | VIRTUAL
134 | WHEN
135 | WHILE
136 | WITH
137 | COMMENT of (string * Location.t)
138 | DOCSTRING of Docstrings.docstring
139 | EOL
140
141
142
143
144
145 val implementation : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
146 Parsetree.structure
147
148
149
150
151 val interface : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
152 tree.signature
153
154
155
156
157 val toplevel_phrase : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
158 Parsetree.toplevel_phrase
159
160
161
162
163 val use_file : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
164 tree.toplevel_phrase list
165
166
167
168
169 val parse_core_type : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
170 Parsetree.core_type
171
172
173
174
175 val parse_expression : (Lexing.lexbuf -> token) -> Lexing.lexbuf ->
176 Parsetree.expression
177
178
179
180
181 val parse_pattern : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parse‐
182 tree.pattern
183
184
185
186
187
188
1892018-04-14 source: Parser(3)