TextualParser.TextualFiletype t = | StandaloneFile of stringPath to a file with textual SIL as content.
*)| TranslatedFile of {source_path : string;content : string;line_map : LineMap.t;}File with textual SIL content which is a result of translation of a file at source_path.
val source_path : t -> stringval parse :
t ->
(Textual.SourceFile.t * Textual.Module.t, Textual.SourceFile.t * error list)
IStdlib.IStd.resultval verify :
Textual.SourceFile.t ->
Textual.Module.t ->
(Textual.Module.t, Textual.SourceFile.t * error list) IStdlib.IStd.resultval textual_to_sil :
Textual.SourceFile.t ->
Textual.Module.t ->
(sil * Textual.Module.t, Textual.SourceFile.t * error list)
IStdlib.IStd.resultval capture :
?textual_module:Textual.Module.t ->
use_global_tenv:bool ->
sil ->
unitStore the captured CFG and tenv in capture.db. When textual_module is provided and --store-textual is set, the module is pretty-printed and stored in capture.db for later export with infer debug --export-textual.