mirror of
https://github.com/Z3Prover/z3
synced 2025-07-15 17:06:39 +00:00
37 lines
641 B
C++
37 lines
641 B
C++
/*++
|
|
Copyright (c) 2011 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
dl_cmds.h
|
|
|
|
Abstract:
|
|
Datalog commands for SMT2 front-end.
|
|
|
|
Author:
|
|
|
|
Nikolaj Bjorner (nbjorner) 2012-11-17
|
|
|
|
Notes:
|
|
|
|
--*/
|
|
#ifndef _DL_CMDS_H_
|
|
#define _DL_CMDS_H_
|
|
|
|
#include "ast.h"
|
|
|
|
class cmd_context;
|
|
|
|
struct dl_collected_cmds {
|
|
expr_ref_vector m_rules;
|
|
svector<symbol> m_names;
|
|
expr_ref_vector m_queries;
|
|
func_decl_ref_vector m_rels;
|
|
dl_collected_cmds(ast_manager& m) : m_rules(m), m_queries(m), m_rels(m) {}
|
|
};
|
|
|
|
void install_dl_cmds(cmd_context & ctx);
|
|
void install_dl_collect_cmds(dl_collected_cmds& collected_cmds, cmd_context& ctx);
|
|
|
|
|
|
#endif
|