summaryrefslogtreecommitdiff
path: root/src/expr/command.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-05-01 22:32:32 +0000
committerMorgan Deters <mdeters@gmail.com>2011-05-01 22:32:32 +0000
commitbf837ea666980a0556d7881316f34be7ad1e2ea2 (patch)
tree6c0a5eae01f7967c02a0ef84c4bccbacf5dfa35f /src/expr/command.h
parent89b0369e887b4cf876e95dc862ae3057383370f3 (diff)
minor fixes, plus experimental readline support in InteractiveShell
Diffstat (limited to 'src/expr/command.h')
-rw-r--r--src/expr/command.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/expr/command.h b/src/expr/command.h
index 585e60eb4..17736ed77 100644
--- a/src/expr/command.h
+++ b/src/expr/command.h
@@ -108,6 +108,8 @@ protected:
public:
DeclarationCommand(const std::string& id, Type t);
DeclarationCommand(const std::vector<std::string>& ids, Type t);
+ const std::vector<std::string>& getDeclaredSymbols() const;
+ Type getDeclaredType() const;
void toStream(std::ostream& out) const;
};/* class DeclarationCommand */
@@ -276,6 +278,12 @@ public:
void toStream(std::ostream& out) const;
};/* class DatatypeDeclarationCommand */
+class CVC4_PUBLIC QuitCommand : public EmptyCommand {
+public:
+ QuitCommand();
+ void toStream(std::ostream& out) const;
+};/* class QuitCommand */
+
class CVC4_PUBLIC CommandSequence : public Command {
private:
/** All the commands to be executed (in sequence) */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback