Module ASTLanguage.Ctl_parser_types
type ast_node
=
|
Stmt of ATDGenerated.Clang_ast_t.stmt
|
Decl of ATDGenerated.Clang_ast_t.decl
the kind of AST nodes where formulas are evaluated
val ast_node_equal : ast_node -> ast_node -> bool
val ast_node_name : ast_node -> string
val ast_node_cxx_fully_qualified_name : ast_node -> string
val ast_node_type : ast_node -> string
val ast_node_kind : ast_node -> string
val ast_node_has_kind : ALVar.alexp list -> ast_node -> bool
val ast_node_unique_string_id : ast_node -> string
val stmt_node_child_type : ast_node -> string
val ast_node_cast_kind : ast_node -> string
val is_node_successor_of : is_successor:ast_node -> ast_node -> bool
val get_direct_successor_nodes : ast_node -> ast_node list
val infer_prefix : string
type builtin_kind
=
Data structures for type parser. Correspondence with clang types inferred from StringRef BuiltinType::getName in https://clang.llvm.org/doxygen/Type_8cpp_source.html
type abs_ctype
=
|
BuiltIn of builtin_kind
|
Pointer of abs_ctype
|
Reference of abs_ctype
|
TypeName of ALVar.alexp
|
ObjCGenProt of abs_ctype * abs_ctype
val c_type_equal : ATDGenerated.Clang_ast_t.c_type -> abs_ctype -> bool
val abs_ctype_to_string : abs_ctype -> string
val get_source_file : ast_node -> ATDGenerated.Clang_ast_t.source_file option
val get_referenced_decl_source_file : ast_node -> ATDGenerated.Clang_ast_t.source_file option