z3 / src / muz_qe / dl_cmds.h

/*++
Copyright (c) 2011 Microsoft Corporation

Module Name:

    dl_cmds.h

Abstract:
    Datalog commands for SMT2 front-end.

Author:

    Leonardo (leonardo) 2011-03-28

Notes:

--*/
#ifndef _DL_CMDS_H_
#define _DL_CMDS_H_

class cmd;
class cmd_context;

void install_dl_cmds(cmd_context & ctx);

namespace datalog {

    class context;

    /**
    Create a command for declaring relations which is connected to 
    a particular datalog context.

    Caller must ensure the returned object is deallocated (e.g. by passing it to a cmd_context).
    */
    cmd * mk_declare_rel_cmd(context& dctx);

    /**
       Declare a constant as a universal/existential variable.
       It is implicitly existentially or universally quantified
       by the rules.
    */
    cmd * mk_declare_var_cmd(context& dctx);

}

#endif
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.