package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.39.3.tar.gz
md5=4d66e9bfbc4cca184d4b6c4db8b1ecd3
sha512=d6949417711a966adb706976de6db160a1c16389c90fa7f744024a23feaadfc319be126975ddb058213340bacceb868c669ef2087cdc69fde35209456759db1f
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)"
>