Server.PackageSourcetype jtype = | Jany| Jnull| Jboolean| Jnumber| Jstring| Jalphastring primarily compared without case
*)| Jtag of stringsingle constant string
*)| Jkey of stringkind of a string used for indexing
*)| Jindex of stringkind of an integer used for indexing
*)| Joption of jtype| Jdict of jtypedictionaries
*)| Jarray of jtypeorder matters
*)| Jtuple of jtype list| Junion of jtype list| Jrecord of (string * jtype) list| Jenum of ident * string listtype and tags
*)| Jdata of ident * jtypetype and definition
*)| Jselffor (simply) recursive types
*)type tagInfo = {tg_name : string;tg_label : Frama_c_kernel.Markdown.text;tg_descr : Frama_c_kernel.Markdown.text;}type declInfo = {d_ident : ident;d_descr : Frama_c_kernel.Markdown.text;d_kind : declKindInfo;}type packageInfo = {p_plugin : plugin;p_package : string list;p_title : string;p_descr : Frama_c_kernel.Markdown.text;p_readme : string option;p_content : declInfo list;}val package :
?plugin:string ->
?name:string ->
title:string ->
?descr:Frama_c_kernel.Markdown.text ->
?readme:string ->
unit ->
packageval declare :
package:package ->
name:string ->
?descr:Frama_c_kernel.Markdown.text ->
declKindInfo ->
unitRegister the declaration in the Server API. This is only way to obtain identifiers. This ensures identifiers are declared before being used.
val declare_id :
package:package ->
name:string ->
?descr:Frama_c_kernel.Markdown.text ->
declKindInfo ->
identSame as declare but returns the associated identifier.
Replace the declaration for the given name in the package.
Assigns non-classing names for each identifier.
type pp = {self : Frama_c_kernel.Markdown.text;ident : ident -> Frama_c_kernel.Markdown.text;}Quoted string