package frama-c
Module Server.Kernel_astSource
Ast Data
Represented by a Json record with file, dir, basename, line
Ast Markers
Ast Markers of Specific Kinds
Markers that are statements.
Optional markers interpreted as kinstr.
Ast Printer
Ast Information
Globals
Source
type 'a filter_registration =
string ->
?labels:(string * string) ->
?default:bool ->
?enable:(unit -> bool) ->
?add_hook:((unit -> unit) -> unit) ->
('a -> bool) ->
unitDefinition of a filter on elements of type 'a with a unique name and a boolean function f: 'a -> bool, allowing the user to show/hide elements for which f is true or false. Optional arguments are:
labelsdefines the labels for the positive and negative versions of the filter. By default, they are "<name> elements" and "non-<name> elements".- if
defaultis provided, only elements x for whichf x = defaultare shown by default. Otherwise, all elements are shown by default. - if
enableis provided, the filter is active only whenenable ()is true. Otherwise, the filter is always active. - if
hookis provided, it is used to register a hook to notify the server of filter updates (i.e. whenf xhas changed for some elements).
Registers a new filter on functions.
Registers a new filter on variables.