package sherlodoc
Search engine for OCaml documentation
Install
dune-project
Dependency
Authors
Maintainers
Sources
odoc-3.1.0.tbz
sha256=355b3cfff4934903cbaed8b51ce35e333e8609932d230294200a9f2d42ffa914
sha512=f78318d0a16164a9cd16ee02f611c2e00d32b772fe38e992d6db6ec94b1c00cd9c377fbfe64031b8f245e57b2f3aac9364108327e7f1693533ddcff94c476e05
doc/src/sherlodoc.query/type_parser.ml.html
Source file type_parser.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583
module MenhirBasics = struct exception Error let _eRR = fun _s -> raise Error type token = | WORD of ( # 17 "sherlodoc/query/type_parser.mly" (string) # 15 "sherlodoc/query/type_parser.ml" ) | STAR | POLY of ( # 18 "sherlodoc/query/type_parser.mly" (string) # 21 "sherlodoc/query/type_parser.ml" ) | PARENS_OPEN | PARENS_CLOSE | EOF | COMMA | ARROW | ANY end include MenhirBasics # 4 "sherlodoc/query/type_parser.mly" module Printf = struct (* Without the following placeholder, [menhir_fail] induces a large dependency to [camlinternalFormat] in the js bundle. *) let eprintf _ = () end open Db.Typexpr # 44 "sherlodoc/query/type_parser.ml" type ('s, 'r) _menhir_state = | MenhirState00 : ('s, _menhir_box_main) _menhir_state (** State 00. Stack shape : . Start symbol: main. *) | MenhirState03 : (('s, _menhir_box_main) _menhir_cell1_PARENS_OPEN, _menhir_box_main) _menhir_state (** State 03. Stack shape : PARENS_OPEN. Start symbol: main. *) | MenhirState06 : (('s, _menhir_box_main) _menhir_cell1_typs _menhir_cell0_WORD, _menhir_box_main) _menhir_state (** State 06. Stack shape : typs WORD. Start symbol: main. *) | MenhirState07 : (('s, _menhir_box_main) _menhir_cell1_WORD, _menhir_box_main) _menhir_state (** State 07. Stack shape : WORD. Start symbol: main. *) | MenhirState11 : (('s, _menhir_box_main) _menhir_cell1_typ2, _menhir_box_main) _menhir_state (** State 11. Stack shape : typ2. Start symbol: main. *) | MenhirState13 : (('s, _menhir_box_main) _menhir_cell1_typ1, _menhir_box_main) _menhir_state (** State 13. Stack shape : typ1. Start symbol: main. *) | MenhirState19 : (('s, _menhir_box_main) _menhir_cell1_typ, _menhir_box_main) _menhir_state (** State 19. Stack shape : typ. Start symbol: main. *) and ('s, 'r) _menhir_cell1_typ = | MenhirCell1_typ of 's * ('s, 'r) _menhir_state * (Db.Typexpr.t) and ('s, 'r) _menhir_cell1_typ1 = | MenhirCell1_typ1 of 's * ('s, 'r) _menhir_state * (Db.Typexpr.t) and ('s, 'r) _menhir_cell1_typ2 = | MenhirCell1_typ2 of 's * ('s, 'r) _menhir_state * (Db.Typexpr.t) and ('s, 'r) _menhir_cell1_typs = | MenhirCell1_typs of 's * ('s, 'r) _menhir_state * (Db.Typexpr.t list) and ('s, 'r) _menhir_cell1_PARENS_OPEN = | MenhirCell1_PARENS_OPEN of 's * ('s, 'r) _menhir_state and ('s, 'r) _menhir_cell1_WORD = | MenhirCell1_WORD of 's * ('s, 'r) _menhir_state * ( # 17 "sherlodoc/query/type_parser.mly" (string) # 102 "sherlodoc/query/type_parser.ml" ) and 's _menhir_cell0_WORD = | MenhirCell0_WORD of 's * ( # 17 "sherlodoc/query/type_parser.mly" (string) # 109 "sherlodoc/query/type_parser.ml" ) and _menhir_box_main = | MenhirBox_main of (Db.Typexpr.t) [@@unboxed] let _menhir_action_01 = fun () -> ( # 216 "<standard.mly>" ( [] ) # 120 "sherlodoc/query/type_parser.ml" : (string list)) let _menhir_action_02 = fun x xs -> ( # 219 "<standard.mly>" ( x :: xs ) # 128 "sherlodoc/query/type_parser.ml" : (string list)) let _menhir_action_03 = fun x -> ( # 58 "sherlodoc/query/type_parser.mly" ( [x] ) # 136 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t list)) let _menhir_action_04 = fun x xs -> ( # 59 "sherlodoc/query/type_parser.mly" ( x::xs ) # 144 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t list)) let _menhir_action_05 = fun x -> ( # 58 "sherlodoc/query/type_parser.mly" ( [x] ) # 152 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t list)) let _menhir_action_06 = fun x xs -> ( # 59 "sherlodoc/query/type_parser.mly" ( x::xs ) # 160 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t list)) let _menhir_action_07 = fun t -> ( # 26 "sherlodoc/query/type_parser.mly" ( t ) # 168 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_08 = fun t -> ( # 30 "sherlodoc/query/type_parser.mly" ( t ) # 176 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_09 = fun a b -> ( # 31 "sherlodoc/query/type_parser.mly" ( Arrow (a, b) ) # 184 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_10 = fun () -> ( # 47 "sherlodoc/query/type_parser.mly" ( Any ) # 192 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_11 = fun w -> ( # 48 "sherlodoc/query/type_parser.mly" ( Poly w ) # 200 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_12 = fun w -> ( # 49 "sherlodoc/query/type_parser.mly" ( Constr (w, []) ) # 208 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_13 = fun () -> ( # 39 "sherlodoc/query/type_parser.mly" ( Any ) # 216 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_14 = fun ts -> ( # 40 "sherlodoc/query/type_parser.mly" ( tuple ts ) # 224 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_15 = fun ts w ws -> ( # 41 "sherlodoc/query/type_parser.mly" ( List.fold_left (fun acc w -> Constr (w, [acc])) (Constr (w, ts)) ws ) # 234 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_16 = fun xs -> ( # 35 "sherlodoc/query/type_parser.mly" ( tuple xs ) # 242 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t)) let _menhir_action_17 = fun t -> ( # 53 "sherlodoc/query/type_parser.mly" ( [t] ) # 250 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t list)) let _menhir_action_18 = fun ts -> ( # 54 "sherlodoc/query/type_parser.mly" ( ts ) # 258 "sherlodoc/query/type_parser.ml" : (Db.Typexpr.t list)) let _menhir_print_token : token -> string = fun _tok -> match _tok with | ANY -> "ANY" | ARROW -> "ARROW" | COMMA -> "COMMA" | EOF -> "EOF" | PARENS_CLOSE -> "PARENS_CLOSE" | PARENS_OPEN -> "PARENS_OPEN" | POLY _ -> "POLY" | STAR -> "STAR" | WORD _ -> "WORD" let _menhir_fail : unit -> 'a = fun () -> Printf.eprintf "Internal failure -- please contact the parser generator's developers.\n%!"; assert false include struct [@@@ocaml.warning "-4-37"] let _menhir_run_23 : type ttv_stack. ttv_stack -> _ -> _ -> _menhir_box_main = fun _menhir_stack _v _tok -> match (_tok : MenhirBasics.token) with | EOF -> let t = _v in let _v = _menhir_action_07 t in MenhirBox_main _v | _ -> _eRR () let rec _menhir_run_01 : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s -> let _tok = _menhir_lexer _menhir_lexbuf in let w = _v in let _v = _menhir_action_12 w in _menhir_goto_typ0 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_goto_typ0 : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok -> let t = _v in let _v = _menhir_action_17 t in _menhir_goto_typs _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_goto_typs : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok -> match (_tok : MenhirBasics.token) with | WORD _v_0 -> let _menhir_stack = MenhirCell1_typs (_menhir_stack, _menhir_s, _v) in let _menhir_stack = MenhirCell0_WORD (_menhir_stack, _v_0) in let _tok = _menhir_lexer _menhir_lexbuf in (match (_tok : MenhirBasics.token) with | WORD _v_1 -> _menhir_run_07 _menhir_stack _menhir_lexbuf _menhir_lexer _v_1 MenhirState06 | ARROW | COMMA | EOF | PARENS_CLOSE | STAR -> let _v_2 = _menhir_action_01 () in _menhir_run_09 _menhir_stack _menhir_lexbuf _menhir_lexer _v_2 _tok | _ -> _eRR ()) | ARROW | COMMA | EOF | PARENS_CLOSE | STAR -> let ts = _v in let _v = _menhir_action_14 ts in _menhir_goto_typ1 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | _ -> _eRR () and _menhir_run_07 : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s -> let _menhir_stack = MenhirCell1_WORD (_menhir_stack, _menhir_s, _v) in let _tok = _menhir_lexer _menhir_lexbuf in match (_tok : MenhirBasics.token) with | WORD _v_0 -> _menhir_run_07 _menhir_stack _menhir_lexbuf _menhir_lexer _v_0 MenhirState07 | ARROW | COMMA | EOF | PARENS_CLOSE | STAR -> let _v_1 = _menhir_action_01 () in _menhir_run_08 _menhir_stack _menhir_lexbuf _menhir_lexer _v_1 _tok | _ -> _eRR () and _menhir_run_08 : type ttv_stack. (ttv_stack, _menhir_box_main) _menhir_cell1_WORD -> _ -> _ -> _ -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _tok -> let MenhirCell1_WORD (_menhir_stack, _menhir_s, x) = _menhir_stack in let xs = _v in let _v = _menhir_action_02 x xs in _menhir_goto_list_WORD_ _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_goto_list_WORD_ : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok -> match _menhir_s with | MenhirState06 -> _menhir_run_09 _menhir_stack _menhir_lexbuf _menhir_lexer _v _tok | MenhirState07 -> _menhir_run_08 _menhir_stack _menhir_lexbuf _menhir_lexer _v _tok | _ -> _menhir_fail () and _menhir_run_09 : type ttv_stack. (ttv_stack, _menhir_box_main) _menhir_cell1_typs _menhir_cell0_WORD -> _ -> _ -> _ -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _tok -> let MenhirCell0_WORD (_menhir_stack, w) = _menhir_stack in let MenhirCell1_typs (_menhir_stack, _menhir_s, ts) = _menhir_stack in let ws = _v in let _v = _menhir_action_15 ts w ws in _menhir_goto_typ1 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_goto_typ1 : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok -> match (_tok : MenhirBasics.token) with | STAR -> let _menhir_stack = MenhirCell1_typ1 (_menhir_stack, _menhir_s, _v) in let _menhir_s = MenhirState13 in let _tok = _menhir_lexer _menhir_lexbuf in (match (_tok : MenhirBasics.token) with | WORD _v -> _menhir_run_01 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | POLY _v -> _menhir_run_02 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | PARENS_OPEN -> _menhir_run_03 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ANY -> _menhir_run_04 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ARROW | COMMA | EOF | PARENS_CLOSE | STAR -> _menhir_reduce_13 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s _tok) | ARROW | COMMA | EOF | PARENS_CLOSE -> let x = _v in let _v = _menhir_action_05 x in _menhir_goto_list1_typ1_STAR_ _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | _ -> _menhir_fail () and _menhir_run_02 : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s -> let _tok = _menhir_lexer _menhir_lexbuf in let w = _v in let _v = _menhir_action_11 w in _menhir_goto_typ0 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_run_03 : type ttv_stack. ttv_stack -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s -> let _menhir_stack = MenhirCell1_PARENS_OPEN (_menhir_stack, _menhir_s) in let _menhir_s = MenhirState03 in let _tok = _menhir_lexer _menhir_lexbuf in match (_tok : MenhirBasics.token) with | WORD _v -> _menhir_run_01 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | POLY _v -> _menhir_run_02 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | PARENS_OPEN -> _menhir_run_03 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ANY -> _menhir_run_04 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ARROW | COMMA | PARENS_CLOSE | STAR -> _menhir_reduce_13 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s _tok | _ -> _eRR () and _menhir_run_04 : type ttv_stack. ttv_stack -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s -> let _tok = _menhir_lexer _menhir_lexbuf in let _v = _menhir_action_10 () in _menhir_goto_typ0 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_reduce_13 : type ttv_stack. ttv_stack -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s _tok -> let _v = _menhir_action_13 () in _menhir_goto_typ1 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_goto_list1_typ1_STAR_ : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok -> match _menhir_s with | MenhirState00 -> _menhir_run_17 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | MenhirState03 -> _menhir_run_17 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | MenhirState19 -> _menhir_run_17 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | MenhirState11 -> _menhir_run_17 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | MenhirState13 -> _menhir_run_15 _menhir_stack _menhir_lexbuf _menhir_lexer _v _tok | _ -> _menhir_fail () and _menhir_run_17 : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok -> let xs = _v in let _v = _menhir_action_16 xs in match (_tok : MenhirBasics.token) with | ARROW -> let _menhir_stack = MenhirCell1_typ2 (_menhir_stack, _menhir_s, _v) in let _menhir_s = MenhirState11 in let _tok = _menhir_lexer _menhir_lexbuf in (match (_tok : MenhirBasics.token) with | WORD _v -> _menhir_run_01 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | POLY _v -> _menhir_run_02 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | PARENS_OPEN -> _menhir_run_03 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ANY -> _menhir_run_04 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ARROW | COMMA | EOF | PARENS_CLOSE | STAR -> _menhir_reduce_13 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s _tok) | COMMA | EOF | PARENS_CLOSE -> let t = _v in let _v = _menhir_action_08 t in _menhir_goto_typ _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | _ -> _menhir_fail () and _menhir_goto_typ : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok -> match _menhir_s with | MenhirState00 -> _menhir_run_23 _menhir_stack _v _tok | MenhirState19 -> _menhir_run_18 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | MenhirState03 -> _menhir_run_18 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok | MenhirState11 -> _menhir_run_16 _menhir_stack _menhir_lexbuf _menhir_lexer _v _tok | _ -> _menhir_fail () and _menhir_run_18 : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok -> match (_tok : MenhirBasics.token) with | COMMA -> let _menhir_stack = MenhirCell1_typ (_menhir_stack, _menhir_s, _v) in let _menhir_s = MenhirState19 in let _tok = _menhir_lexer _menhir_lexbuf in (match (_tok : MenhirBasics.token) with | WORD _v -> _menhir_run_01 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | POLY _v -> _menhir_run_02 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | PARENS_OPEN -> _menhir_run_03 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ANY -> _menhir_run_04 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ARROW | COMMA | PARENS_CLOSE | STAR -> _menhir_reduce_13 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s _tok | _ -> _eRR ()) | PARENS_CLOSE -> let x = _v in let _v = _menhir_action_03 x in _menhir_goto_list1_typ_COMMA_ _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | _ -> _eRR () and _menhir_goto_list1_typ_COMMA_ : type ttv_stack. ttv_stack -> _ -> _ -> _ -> (ttv_stack, _menhir_box_main) _menhir_state -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s -> match _menhir_s with | MenhirState03 -> _menhir_run_21 _menhir_stack _menhir_lexbuf _menhir_lexer _v | MenhirState19 -> _menhir_run_20 _menhir_stack _menhir_lexbuf _menhir_lexer _v | _ -> _menhir_fail () and _menhir_run_21 : type ttv_stack. (ttv_stack, _menhir_box_main) _menhir_cell1_PARENS_OPEN -> _ -> _ -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v -> let _tok = _menhir_lexer _menhir_lexbuf in let MenhirCell1_PARENS_OPEN (_menhir_stack, _menhir_s) = _menhir_stack in let ts = _v in let _v = _menhir_action_18 ts in _menhir_goto_typs _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_run_20 : type ttv_stack. (ttv_stack, _menhir_box_main) _menhir_cell1_typ -> _ -> _ -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v -> let MenhirCell1_typ (_menhir_stack, _menhir_s, x) = _menhir_stack in let xs = _v in let _v = _menhir_action_04 x xs in _menhir_goto_list1_typ_COMMA_ _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s and _menhir_run_16 : type ttv_stack. (ttv_stack, _menhir_box_main) _menhir_cell1_typ2 -> _ -> _ -> _ -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _tok -> let MenhirCell1_typ2 (_menhir_stack, _menhir_s, a) = _menhir_stack in let b = _v in let _v = _menhir_action_09 a b in _menhir_goto_typ _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok and _menhir_run_15 : type ttv_stack. (ttv_stack, _menhir_box_main) _menhir_cell1_typ1 -> _ -> _ -> _ -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer _v _tok -> let MenhirCell1_typ1 (_menhir_stack, _menhir_s, x) = _menhir_stack in let xs = _v in let _v = _menhir_action_06 x xs in _menhir_goto_list1_typ1_STAR_ _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s _tok let _menhir_run_00 : type ttv_stack. ttv_stack -> _ -> _ -> _menhir_box_main = fun _menhir_stack _menhir_lexbuf _menhir_lexer -> let _menhir_s = MenhirState00 in let _tok = _menhir_lexer _menhir_lexbuf in match (_tok : MenhirBasics.token) with | WORD _v -> _menhir_run_01 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | POLY _v -> _menhir_run_02 _menhir_stack _menhir_lexbuf _menhir_lexer _v _menhir_s | PARENS_OPEN -> _menhir_run_03 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ANY -> _menhir_run_04 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s | ARROW | EOF | STAR -> _menhir_reduce_13 _menhir_stack _menhir_lexbuf _menhir_lexer _menhir_s _tok | _ -> _eRR () end let main = fun _menhir_lexer _menhir_lexbuf -> let _menhir_stack = () in let MenhirBox_main v = _menhir_run_00 _menhir_stack _menhir_lexbuf _menhir_lexer in v
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>