diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-26 18:17:13 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-26 18:17:13 +0000 |
commit | f4969cca302fe640fed334cf9cbf8e032b468ae6 (patch) | |
tree | b8270886391fc10a5859ac12488824983ae25d84 /src/main/interactive_shell.h | |
parent | 88838a403d526a12c8fcd71626e5b9d4d2e43cb0 (diff) |
Cleaning up some header files
Diffstat (limited to 'src/main/interactive_shell.h')
-rw-r--r-- | src/main/interactive_shell.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/main/interactive_shell.h b/src/main/interactive_shell.h index a60278eba..faa80fb84 100644 --- a/src/main/interactive_shell.h +++ b/src/main/interactive_shell.h @@ -20,34 +20,29 @@ #include <iostream> #include <string> -#include "parser/parser_builder.h" #include "util/language.h" -#include "util/options.h" namespace CVC4 { class Command; + class ExprManager; + class Options; - using namespace parser; + namespace parser { + class Parser; + } class CVC4_PUBLIC InteractiveShell { std::istream& d_in; std::ostream& d_out; - Parser* d_parser; + parser::Parser* d_parser; const InputLanguage d_language; static const std::string INPUT_FILENAME; public: InteractiveShell(ExprManager& exprManager, - const Options& options) : - d_in(*options.in), - d_out(*options.out), - d_language(options.inputLanguage) { - ParserBuilder parserBuilder(exprManager,INPUT_FILENAME,options); - /* Create parser with bogus input. */ - d_parser = parserBuilder.withStringInput("").build(); - } + const Options& options); /** Read a command from the interactive shell. This will read as many lines as necessary to parse a well-formed command. */ |