diff options
Diffstat (limited to 'src/parser/parser_builder.h')
-rw-r--r-- | src/parser/parser_builder.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/parser/parser_builder.h b/src/parser/parser_builder.h index ce01d3c53..095769ab5 100644 --- a/src/parser/parser_builder.h +++ b/src/parser/parser_builder.h @@ -44,6 +44,7 @@ class Parser; class CVC4_PUBLIC ParserBuilder { enum InputType { FILE_INPUT, + LINE_BUFFERED_STREAM_INPUT, STREAM_INPUT, STRING_INPUT }; @@ -90,7 +91,7 @@ public: const Options& options); /** Build the parser, using the current settings. */ - Parser *build() throw (InputStreamException,AssertionException); + Parser *build() throw (InputStreamException, AssertionException); /** Should semantic checks be enabled in the parser? (Default: yes) */ ParserBuilder& withChecks(bool flag = true); @@ -150,6 +151,9 @@ public: /** Set the parser to use the given stream for its input. */ ParserBuilder& withStreamInput(std::istream& input); + /** Set the parser to use the given stream for its input. */ + ParserBuilder& withLineBufferedStreamInput(std::istream& input); + /** Set the parser to use the given string for its input. */ ParserBuilder& withStringInput(const std::string& input); };/* class ParserBuilder */ |