summaryrefslogtreecommitdiff
path: root/src/parser/antlr_parser.h
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-02-02 20:04:18 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-02-02 20:04:18 +0000
commit86716e3782aae62a38987f7f89bdf5498eca534a (patch)
treeac2d524141bfc486351dcd5b092e3ebcbc3a0b3a /src/parser/antlr_parser.h
parenta1ee56b7d09b4f6430a048c53a3b5bd0a194357f (diff)
Minor changes to parser
Diffstat (limited to 'src/parser/antlr_parser.h')
-rw-r--r--src/parser/antlr_parser.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/parser/antlr_parser.h b/src/parser/antlr_parser.h
index f83ccd5f2..5cbb7411e 100644
--- a/src/parser/antlr_parser.h
+++ b/src/parser/antlr_parser.h
@@ -168,17 +168,21 @@ protected:
Expr mkExpr(Kind kind, const std::vector<Expr>& children);
/**
- * Creates a new predicated over the given sorts.
- * @param p_name the name of the predicate
- * @param p_sorts the arity sorts
+ * Creates a new predicate over the given sorts. The predicate
+ * has arity sorts.size().
+ * @param name the name of the predicate
+ * @param sorts the sorts
*/
- void newPredicate(std::string p_name, const std::vector<std::string>& p_sorts);
+ void newPredicate(std::string name,
+ const std::vector<std::string>& sorts);
/**
- * Creates new predicates of given types.
+ * Creates new predicates over the given sorts. Each predicate
+ * will have arity sorts.size().
* @param p_names the names of the predicates
*/
- void newPredicates(const std::vector<std::string>& p_names);
+ void newPredicates(const std::vector<std::string>& names,
+ const std::vector<std::string>& sorts);
/**
* Returns the precedence rank of the kind.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback