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_java/Ast_java/index.html
Module Ast_java
type tok = Parse_info.t
type 'a wrap = 'a * tok
type ident = string wrap
type qualified_ident = ident list
and class_type = (ident * type_argument list) list1
and ref_type = typ
type modifier =
| Public
| Protected
| Private
| Abstract
| Static
| Final
| StrictFP
| Transient
| Volatile
| Synchronized
| Native
| Annotation of annotation
and annotation = name_or_class_type * annotation_element option
and annotation_element =
| AnnotArgValue of element_value
| AnnotArgPairInit of annotation_pair list
| EmptyAnnotArg
and element_value =
| AnnotExprInit of expr
| AnnotNestedAnnot of annotation
| AnnotArrayInit of element_value list
and annotation_pair = ident * element_value
and name_or_class_type = identifier_ list
and identifier_ =
| Id of ident
| Id_then_TypeArgs of ident * type_argument list
| TypeArgs_then_Id of type_argument list * identifier_
and name = (type_argument list * ident) list1
and expr =
| Name of name
| NameOrClassType of name_or_class_type
| Literal of literal
| ClassLiteral of typ
| NewClass of typ * arguments * decls option
| NewArray of typ * arguments * int * init option
| NewQualifiedClass of expr * ident * arguments * decls option
| Call of expr * arguments
| Dot of expr * ident
| ArrayAccess of expr * expr
| Unary of Ast_generic.arithmetic_operator wrap * expr
| Postfix of expr * Ast_generic.incr_decr wrap
| Prefix of Ast_generic.incr_decr wrap * expr
| Infix of expr * Ast_generic.arithmetic_operator wrap * expr
| Cast of typ * expr
| InstanceOf of expr * ref_type
| Conditional of expr * expr * expr
| Assign of expr * expr
| AssignOp of expr * Ast_generic.arithmetic_operator wrap * expr
| Ellipses of tok
and arguments = expr list
and stmt =
| Empty
| Block of stmts
| Expr of expr
| If of expr * stmt * stmt
| Switch of expr * (cases * stmts) list
| While of expr * stmt
| Do of stmt * expr
| For of for_control * stmt
| Break of ident option
| Continue of ident option
| Return of expr option
| Label of ident * stmt
| Sync of expr * stmt
| Try of stmt * catches * stmt option
| Throw of expr
| LocalVar of var_with_init
| LocalClass of class_decl
| Assert of expr * expr option
and stmts = stmt list
and cases = case list
and catches = catch list
and vars = var list
and field = var_with_init
and enum_decl = {
en_name : ident;
en_mods : modifiers;
en_impls : ref_type list;
en_body : enum_constant list * decls;
}
and enum_constant =
| EnumSimple of ident
| EnumConstructor of ident * arguments
| EnumWithMethods of ident * method_decl list
and class_decl = {
cl_name : ident;
cl_kind : class_kind;
cl_tparams : type_parameter list;
cl_mods : modifiers;
cl_extends : typ option;
cl_impls : ref_type list;
cl_body : decls;
}
and decl =
| Class of class_decl
| Method of method_decl
| Field of field
| Enum of enum_decl
| Init of bool * stmt
and decls = decl list
type compilation_unit = {
package : qualified_ident option;
imports : (bool * qualified_ident) list;
decls : decls;
}
type program = compilation_unit
val fakeInfo :
?next_to:(Parse_info.token_location * int) option ->
string ->
Parse_info.token_mutable
val is_final : (modifier * 'a) list -> bool
val is_final_static : (modifier * 'a) list -> bool
val info_of_identifier_ : identifier_ -> tok
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>