package pfff
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Tools and APIs for program analysis, code visualization, refactoring
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.39.3.tar.gz
md5=4d66e9bfbc4cca184d4b6c4db8b1ecd3
sha512=d6949417711a966adb706976de6db160a1c16389c90fa7f744024a23feaadfc319be126975ddb058213340bacceb868c669ef2087cdc69fde35209456759db1f
doc/pfff-h_program-lang/Ast_generic/index.html
Module Ast_generic
type tok = Parse_info.ttype 'a wrap = 'a * toktype ident = string wraptype dotted_ident = ident listtype qualified_ident = dotted_identtype resolved_name = | Local| Param| Global of qualified_ident| NotResolved| Macro| EnumConstant| ImportedModule
and id_info = {id_qualifier : dotted_ident option;id_typeargs : type_arguments option;id_resolved : resolved_name ref;id_type : type_ option ref;
}and expr = | L of literal| Container of container_operator * expr list| Tuple of expr list| Record of field list| Constructor of name * expr list| Lambda of function_definition| AnonClass of class_definition| Nop| Name of name| IdSpecial of special wrap| Call of expr * arguments| Xml of xml| Assign of expr * expr| AssignOp of expr * arithmetic_operator wrap * expr| LetPattern of pattern * expr| ObjAccess of expr * ident| ArrayAccess of expr * expr| Conditional of expr * expr * expr| MatchPattern of expr * action list| Yield of expr| Await of expr| Cast of type_ * expr| Seq of expr list| Ref of expr| DeRef of expr| Ellipses of tok| OtherExpr of other_expr_operator * any list
and special = | This| Super| Self| Parent| Eval| Typeof| Instanceof| Sizeof| New| Concat| Spread| ArithOp of arithmetic_operator| IncrDecr of incr_decr * prefix_postfix
and arguments = argument listand xml = any listand other_expr_operator = | OE_Exports| OE_Module| OE_Define| OE_Arguments| OE_NewTarget| OE_Delete| OE_YieldStar| OE_Encaps| OE_Require| OE_UseStrict| OE_ObjAccess_PN_Computed| OE_Imag| OE_Is| OE_IsNot| OE_In| OE_NotIn| OE_Invert| OE_Slice| OE_SliceIndex| OE_SliceRange| OE_CompForIf| OE_CompFor| OE_CompIf| OE_CmpOps| OE_Repr| OE_NameOrClassType| OE_ClassLiteral| OE_NewQualifiedClass| OE_GetRefLabel| OE_ArrayInitDesignator| OE_GccConstructor| OE_Unpack| OE_FieldAccessQualified| OE_RecordWith| OE_StmtExpr
and stmt = | ExprStmt of expr| LocalDef of definition| LocalDirective of directive| Block of stmt list| If of expr * stmt * stmt| While of expr * stmt| DoWhile of stmt * expr| For of for_header * stmt| Switch of expr * case_and_body list| Return of expr| Continue of expr option| Break of expr option| Label of label * stmt| Goto of label| Throw of expr| Try of stmt * catch list * finally option| Assert of expr * expr option| OtherStmt of other_stmt_operator * any list
and finally = stmtand label = identand pattern = | PatLiteral of literal| PatConstructor of name * pattern list| PatRecord of field_pattern list| PatVar of ident| PatTuple of pattern list| PatList of pattern list| PatKeyVal of pattern * pattern| PatUnderscore of tok| PatDisj of pattern * pattern| PatTyped of pattern * type_| PatWhen of pattern * expr| PatAs of pattern * ident| OtherPat of other_pattern_operator * any list
and type_arguments = type_argument listand attribute = | Static| Volatile| Extern| Public| Private| Protected| Abstract| Final| Var| Let| Mutable| Const| Generator| Async| Recursive| MutuallyRecursive| Ctor| Dtor| Getter| Setter| Variadic| NamedAttr of ident * any list| OtherAttribute of other_attribute_operator * any list
and definition = entity * definition_kindand entity = {name : ident;attrs : attribute list;type_ : type_ option;tparams : type_parameter list;
}and definition_kind = | FuncDef of function_definition| VarDef of variable_definition| TypeDef of type_definition| ClassDef of class_definition| ModuleDef of module_definition| MacroDef of macro_definition| Signature of type_
and type_parameter = ident * type_parameter_constraintsand type_parameter_constraints = type_parameter_constraint listand parameters = parameter listand parameter = | ParamClassic of parameter_classic| ParamPattern of pattern| OtherParam of other_parameter_operator * any list
and type_definition_kind = | OrType of or_type_element list| AndType of field list| AliasType of type_| Exception of ident * type_ list| OtherTypeKind of other_type_kind_operator * any list
and field = | FieldVar of entity * variable_definition| FieldMethod of entity * function_definition| FieldDynamic of expr * attribute list * expr| FieldSpread of expr| FieldStmt of stmt
and class_definition = {ckind : class_kind;cextends : type_ list;cimplements : type_ list;cbody : field list;
}and module_definition_kind = | ModuleAlias of name| ModuleStruct of dotted_ident option * item list| OtherModule of other_module_operator * any list
and directive = | Import of module_name * alias list| ImportAll of module_name * ident option| OtherDirective of other_directive_operator * any list
and program = item listexception Error of string * Parse_info.tval error : Parse_info.t -> string -> 'aval empty_info : unit -> id_infoval basic_param : ident -> parameter_classicval empty_var : unit -> variable_definitionval entity_to_param : entity -> parameter_classicval opt_to_name : (string * Parse_info.t) option -> string * Parse_info.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>