summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2009-12-11 04:00:14 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2009-12-11 04:00:14 +0000
commitd26cd7a159bb56f492e21b7536f68abf821ca02a (patch)
tree3f601cae6490a8bfb4dc7dcdcc5c9b4dd1a75711 /src/parser/parser.h
parent82faddb718aaae5f52001e09d0754a3d254e2285 (diff)
Extracted the public Expr and ExprManager interface to encapsulate the optimized expressions and the internal expression manager.
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index 7f63261c7..7755d65f0 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -22,9 +22,9 @@
namespace CVC4 {
// Forward declarations
-class Node;
+class Expr;
class Command;
-class NodeManager;
+class ExprManager;
namespace parser {
@@ -44,7 +44,7 @@ public:
* Construct the parser that uses the given expression manager.
* @param em the expression manager.
*/
- Parser(NodeManager* em);
+ Parser(ExprManager* em);
/**
* Destructor.
@@ -60,7 +60,7 @@ public:
/**
* Parse the next expression of the stream
*/
- virtual Node parseNextExpression() throw (ParserException) = 0;
+ virtual Expr parseNextExpression() throw (ParserException) = 0;
/**
* Check if we are done -- either the end of input has been reached.
@@ -73,7 +73,7 @@ protected:
void setDone(bool done = true);
/** Expression manager the parser will be using */
- NodeManager* d_expr_manager;
+ ExprManager* d_expr_manager;
/** Are we done */
bool d_done;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback