TextualParser.TextualFile
type t =
| StandaloneFile of string
Path 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 translate :
t ->
(sil, Textual.SourceFile.t * error list) IStdlib.IStd.result
val capture : use_global_tenv:bool -> sil -> unit