diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-23 14:49:06 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-23 14:49:06 +0000 |
commit | 0a3ecb598dac9e5e7416f88403dbf73d558c8739 (patch) | |
tree | 445375d28a4c0bd522115a1fdc40dc1190d6b7c6 /src/parser/parser_builder.h | |
parent | b2ff9864ed706911022d7468cde7ba55d07ab1fd (diff) |
Adding Parser::setInput and using it in InteractiveShell (Fixes: #225)
Removing ParserBuilder::withStateFrom
Diffstat (limited to 'src/parser/parser_builder.h')
-rw-r--r-- | src/parser/parser_builder.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/parser/parser_builder.h b/src/parser/parser_builder.h index 44cb8285e..f1fd26ec1 100644 --- a/src/parser/parser_builder.h +++ b/src/parser/parser_builder.h @@ -34,20 +34,6 @@ class ExprManager; namespace parser { -/* -class InputBuilder { -protected: - InputLanguage d_lang; - std::string d_name; -public: - InputBuilder(InputLanguage lang, const std::string& name) : - d_lang(lang), - d_name(name) { - } - virtual Input& build() = 0; -}; -*/ - class Parser; /** @@ -80,9 +66,6 @@ class CVC4_PUBLIC ParserBuilder { /** The expression manager */ ExprManager& d_exprManager; - /** Parser to derive the initial state from. */ - const Parser* d_parserToUseForState; - /** Should semantic checks be enabled during parsing? */ bool d_checksEnabled; @@ -131,11 +114,6 @@ public: /** Derive settings from the given options. */ ParserBuilder& withOptions(const Options& options); - /** Copy the state (e.g., variable and type declaration) from - * an existing parser. If <code>parser</code> is <code>NULL</code>, - * the default initial state will be used. */ - ParserBuilder& withStateFrom(const Parser* parser); - /** Should the parser use strict mode? (Default: no) */ ParserBuilder& withStrictMode(bool flag = true); |