package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.39.5.tar.gz
md5=e23dbd320a8681b74315162a02bf97a7
sha512=2998432bcd6d9a459331d733c4446d35459d42787fcf2fd332d3ec5131a4d358bb8f060b45d38696bcd584e1eaa8c1b21b82d7d3005e83c1ecefd22fec842ee7
doc/pfff-lang_ml-analyze/Ast_ml/index.html
Module Ast_ml
type tok = Parse_info.t
type 'a wrap = 'a * tok
type ident = string wrap
and qualifier = ident list
type expr =
| L of literal
| Name of name
| Constructor of name * expr option
| Tuple of expr list
| List of expr list
| Sequence of expr list
| Prefix of string wrap * expr
| Infix of expr * string wrap * expr
| Call of expr * argument list
| RefAccess of tok * expr
| RefAssign of expr * tok * expr
| FieldAccess of expr * name
| FieldAssign of expr * name * expr
| Record of expr option * (name * expr) list
| New of tok * name
| ObjAccess of expr * ident
| LetIn of let_binding list * expr * rec_opt
| Fun of parameter list * expr
| Nop
| If of expr * expr * expr
| Match of expr * match_case list
| Try of expr * match_case list
| While of expr * expr
| For of ident * expr * for_direction * expr * expr
and match_case = pattern * match_action
and rec_opt = tok option
and pattern =
| PatVar of ident
| PatLiteral of literal
| PatConstructor of name * pattern option
| PatConsInfix of pattern * tok * pattern
| PatTuple of pattern list
| PatList of pattern list
| PatUnderscore of tok
| PatRecord of (name * pattern) list
| PatAs of pattern * ident
| PatDisj of pattern * pattern
| PatTyped of pattern * type_
and parameter = pattern
and type_parameter = ident
and item =
| Type of type_declaration list
| Exception of ident * type_ list
| External of ident * type_ * string wrap list
| Open of name
| Val of ident * type_
| Let of rec_opt * let_binding list
| Module of module_declaration
type program = item list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>