* src/ltlast/formulae.hh: Rename as ...

* src/ltlast/formula.hh: ... this.
* src/ltlast/Makefile.am (libltlast_a_SOURCES): Adjust.
* src/ltlast/formula.hh (formulae): Rename as ...
(formula): ... this.
Adjust all uses.
This commit is contained in:
Alexandre Duret-Lutz 2003-04-16 13:11:34 +00:00
parent 532f9131f5
commit ef2d6323e0
22 changed files with 104 additions and 97 deletions

View file

@ -2,22 +2,22 @@
# define SPOT_LTLAST_MULTOP_HH
#include <vector>
#include "formulae.hh"
#include "formula.hh"
namespace spot
{
namespace ltl
{
class multop : public formulae
class multop : public formula
{
public:
enum type { Or, And };
// A multop has at least two arguments.
multop(type op, formulae* first, formulae* second);
multop(type op, formula* first, formula* second);
// More argument can be added.
void add(formulae* f);
void add(formula* f);
virtual ~multop();
@ -25,15 +25,15 @@ namespace spot
virtual void accept(const_visitor& v) const;
unsigned size() const;
const formulae* nth(unsigned n) const;
formulae* nth(unsigned n);
const formula* nth(unsigned n) const;
formula* nth(unsigned n);
type op() const;
const char* op_name() const;
private:
type op_;
std::vector<formulae*> children_;
std::vector<formula*> children_;
};
}