package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.39.4.tar.gz
md5=9aabf597b6de59ced5a3ecfadb1c9a13
sha512=8f4762840b8de0a76a8cbd972e6a4babd7b17e3830b65b5eaff017711bd247f88a29d04d64b6bd31fa3610d5e045bb48ddaaf58b279fcac19a1c53590f0b411e
doc/pfff-lang_js-analyze/Ast_js/index.html
Module Ast_js
type tok = Parse_info.t
type 'a wrap = 'a * tok
type name = string wrap
type special =
| Null
| Undefined
| This
| Super
| Exports
| Module
| Define
| Arguments
| New
| NewTarget
| Eval
| Seq
| Void
| Typeof
| Instanceof
| In
| Delete
| Spread
| Yield
| YieldStar
| Await
| Encaps of name option
| Require
| UseStrict
| ArithOp of Ast_generic.arithmetic_operator
| IncrDecr of Ast_generic.incr_decr * Ast_generic.prefix_postfix
type label = string wrap
type filename = string wrap
and expr =
| Bool of bool wrap
| Num of string wrap
| String of string wrap
| Regexp of string wrap
| Id of name * resolved_name ref
| IdSpecial of special wrap
| Nop
| Assign of expr * expr
| Obj of obj_
| Class of class_ * name option
| ObjAccess of expr * property_name
| Arr of expr list
| ArrAccess of expr * expr
| Fun of fun_ * name option
| Apply of expr * expr list
| Conditional of expr * expr * expr
| Ellipses of tok
and stmt =
| VarDecl of var
| Block of stmt list
| ExprStmt of expr
| If of expr * stmt * stmt
| Do of stmt * expr
| While of expr * stmt
| For of for_header * stmt
| Switch of expr * case list
| Continue of label option
| Break of label option
| Return of expr
| Label of label * stmt
| Throw of expr
| Try of stmt * catch option * stmt option
and vars_or_expr = (var list, expr) Common.either
and var_or_expr = (var, expr) Common.either
and obj_ = property list
type program = toplevel list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>