Module JavaFrontend.JSourceAST

type location = {
  1. line : int;
  2. col : int;
}
type class_kind =
  1. | Class of string
  2. | Interface of string
  3. | AnonymousClass
  4. | Enum of string
type class_or_interface = {
  1. location : location;
  2. kind : class_kind;
  3. inner_elements : class_or_interface list;
}
type file_content = {
  1. package : string option;
  2. classes : class_or_interface list;
}
val iter_on_declarations : action_on_class_location:(classname:string -> col:int -> line:int -> unit) -> file_content -> unit