package mopsa
Module Mopsa_c_parser.Clang_parser_cacheSource
Clang_parser_cache - Cache parsed AST to improve efficiency.
AST are cached in marshalized files. We store the list of files used during parsing and check that they have not been modified before using the cache.
Version number. This is checked when using the cache, and should be changed when the signature or the AST type change to invalidate the cache.
Source file identification.
Parse identification.
Make filename absolute.
Source
val get_signature :
string ->
Clang_AST.target_options ->
string array ->
string list ->
signatureChecks that the signature is valid.
File name of cache for a given source file name.
Source
val parse :
string ->
Clang_AST.target_options ->
bool ->
string ->
string array ->
Clang_parser.parse_result