package lua_parser
A Lua 5.2 Parser
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.0.tar.gz
md5=040b79da95d5dbe7d5d2ecc03320b72e
sha512=537e2b38bf8590e9fc4592f4e39a6a8ad3029693e6b052376d342c13be9349fa4db3d3a2557e7ffaeb6580ad929d681271d951d0b619d3c6ca448042412e4a74
doc/src/lua_parser.lib/ast.ml.html
Source file ast.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
(* The MIT License Copyright (c) 2020 Jason D. Nielsen <drjdnielsen@gmail.com> *) open Sexplib.Conv type ast = | Break | Ellipsis | Ident of string | Number of string | Bool of string | String of string | Args of ast | Assign of ast * ast | Binop of string * ast * ast | Do of ast | Elseif of ast * ast | Fassign of ast * ast | Fbody of ast * ast | For1 of ast * ast * ast * ast | For2 of ast * ast * ast * ast * ast | Forin of ast * ast * ast | Function of ast * ast | FunctionE of ast | Goto of ast | If1 of ast * ast | If2 of ast * ast * ast | If3 of ast * ast * ast | If4 of ast * ast * ast * ast | Key1 of ast | Key2 of ast | Label of ast | Lassign of ast * ast | Lfunction of ast * ast | Lnames of ast | Member of ast * ast | Mcall of ast * ast * ast | Pexp of ast | Repeat of ast * ast | Return of ast | Table of ast | Unop of string * ast | Vargs of ast | While of ast * ast | Clist of ast list | Elist of ast list | FNlist of ast list | Slist of ast list [@@deriving sexp, show] let extract_list = function | Clist i -> i | Elist i -> i | FNlist i -> i | Slist i -> i | _ -> failwith "Not a valid ast list!"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>