Module IR__Procname
module CSharp : sig ... endType of csharp procedure names.
module Java : sig ... endType of java procedure names.
module Parameter : sig ... endmodule ObjC_Cpp : sig ... endmodule C : sig ... endmodule Block : sig ... endtype t=|CSharp of CSharp.t|Java of Java.t|C of C.t|Linters_dummy_method|Block of Block.t|ObjC_Cpp of ObjC_Cpp.t|WithBlockParameters of t * Block.t listType of procedure names. WithBlockParameters is used for creating an instantiation of a method that contains block parameters and it's called with concrete blocks. For example:
foo(Block block) {block();}bar() {foo(my_block)}is executed asfoo_my_block() {my_block(); }where foo_my_block is created with WithBlockParameters (foo,my_block)
val block_of_procname : t -> Block.tval equal : t -> t -> boolval get_class_type_name : t -> IR.Typ.Name.t optionval get_class_name : t -> string optionval get_parameters : t -> Parameter.t listval replace_parameters : Parameter.t list -> t -> tval parameter_of_name : t -> IR.Typ.Name.t -> Parameter.tval is_java_access_method : t -> boolval is_java_class_initializer : t -> boolval is_java_anonymous_inner_class_method : t -> boolval is_java_autogen_method : t -> boolval is_objc_method : t -> bool
module Hash : IStdlib.IStd.Caml.Hashtbl.S with type Hash.key = tHash tables with proc names as keys.
module LRUHash : IStdlib.LRUHashtbl.S with type key = tmodule HashQueue : IStdlib.IStd.Hash_queue.S with type HashQueue.key = tmodule Map : IStdlib.PrettyPrintable.PPMap with type PPMap.key = tMaps from proc names.
module Set : IStdlib.PrettyPrintable.PPSet with type PPSet.elt = tSets of proc names.
module SQLite : sig ... endmodule SQLiteList : IBase.SqliteUtils.Data with type t = t listmodule UnitCache : sig ... endOne-sized cache for one procedure at a time. Returns getter and setter.
val make_java : class_name:IR.Typ.Name.t -> return_type:IR.Typ.t option -> method_name:string -> parameters:IR.Typ.t list -> kind:Java.kind -> unit -> tCreate a Java procedure name.
val make_csharp : class_name:IR.Typ.Name.t -> return_type:IR.Typ.t option -> method_name:string -> parameters:IR.Typ.t list -> kind:CSharp.kind -> unit -> tCreate a CSharp procedure name.
val make_objc_dealloc : IR.Typ.Name.t -> tCreate a Objective-C dealloc name. This is a destructor for an Objective-C class. This procname is given by the class name, since it is always an instance method with the name "dealloc"
val make_objc_copyWithZone : is_mutable:bool -> IR.Typ.Name.t -> tCreate an Objective-C method for copyWithZone: or mutableCopyWithZone: according to is_mutable.
val empty_block : tEmpty block name.
val get_block_type : t -> Block.block_typeval get_language : t -> IBase.Language.tReturn the language of the procedure.
val get_method : t -> stringReturn the method/function of a procname.
val is_objc_block : t -> boolReturn whether the procname is a block procname.
val is_cpp_lambda : t -> boolReturn whether the procname is a cpp lambda procname.
val is_objc_dealloc : t -> boolReturn whether the dealloc method of an Objective-C class.
val is_c_method : t -> boolReturn true this is an Objective-C/C++ method name.
val is_constructor : t -> boolCheck if this is a constructor.
val is_csharp : t -> boolCheck if this is a CSharp procedure name.
val is_java : t -> boolCheck if this is a Java procedure name.
val with_block_parameters : t -> Block.t list -> tCreate a procedure name instantiated with block parameters from a base procedure name and a list of block procedures.
val objc_cpp_replace_method_name : t -> string -> tval is_infer_undefined : t -> boolCheck if this is a special Infer undefined procedure.
val get_global_name_of_initializer : t -> string optionReturn the name of the global for which this procedure is the initializer if this is an initializer, None otherwise.
val pp : Stdlib.Format.formatter -> t -> unitPretty print a proc name for the user to see.
val to_string : t -> stringConvert a proc name into a string for the user to see.
val describe : Stdlib.Format.formatter -> t -> unitto use in user messages
val replace_class : t -> IR.Typ.Name.t -> tReplace the class name component of a procedure name. In case of Java, replace package and class name.
val is_method_in_objc_protocol : t -> boolval pp_simplified_string : ?withclass:bool -> F.formatter -> t -> unitPretty print a proc name as an easy string for the user to see in an IDE.
val to_simplified_string : ?withclass:bool -> t -> stringConvert a proc name into an easy string for the user to see in an IDE.
val from_string_c_fun : string -> tConvert a string to a c function name.
val hashable_name : t -> stringConvert the procedure name in a format suitable for computing the bug hash.
val to_unique_id : t -> stringConvert a proc name into a unique identifier.
val to_filename : t -> stringConvert a proc name to a filename.
val get_qualifiers : t -> IR.QualifiedCppName.tget qualifiers of C/objc/C++ method/function
module Normalizer : IStdlib.HashNormalizer.S with type t = t