* 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

@ -1,38 +1,38 @@
#ifndef SPOT_LTLAST_BINOP_HH
# define SPOT_LTLAST_BINOP_HH
#include "formulae.hh"
#include "formula.hh"
namespace spot
{
namespace ltl
{
class binop : public formulae
class binop : public formula
{
public:
// And and Or are not here. Because they
// are often nested we represent them as multops.
enum type { Xor, Implies, Equiv, U, R };
binop(type op, formulae* first, formulae* second);
binop(type op, formula* first, formula* second);
virtual ~binop();
virtual void accept(visitor& v);
virtual void accept(const_visitor& v) const;
const formulae* first() const;
formulae* first();
const formulae* second() const;
formulae* second();
const formula* first() const;
formula* first();
const formula* second() const;
formula* second();
type op() const;
const char* op_name() const;
private:
type op_;
formulae* first_;
formulae* second_;
formula* first_;
formula* second_;
};
}