spot  1.1.3
postfix.hh
Go to the documentation of this file.
1 // Copyright (C) 2009, 2010, 2012 Laboratoire de Recherche et Développement
2 // de l'Epita (LRDE).
3 // Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
4 // département Systèmes Répartis Coopératifs (SRC), Université Pierre
5 // et Marie Curie.
6 //
7 // This file is part of Spot, a model checking library.
8 //
9 // Spot is free software; you can redistribute it and/or modify it
10 // under the terms of the GNU General Public License as published by
11 // the Free Software Foundation; either version 3 of the License, or
12 // (at your option) any later version.
13 //
14 // Spot is distributed in the hope that it will be useful, but WITHOUT
15 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
17 // License for more details.
18 //
19 // You should have received a copy of the GNU General Public License
20 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 
22 #ifndef SPOT_LTLVISIT_POSTFIX_HH
23 # define SPOT_LTLVISIT_POSTFIX_HH
24 
25 #include "ltlast/formula.hh"
26 #include "ltlast/visitor.hh"
27 
28 namespace spot
29 {
30  namespace ltl
31  {
38  class postfix_visitor : public visitor
39  {
40  public:
42  virtual ~postfix_visitor();
43 
44  void visit(const atomic_prop* ap);
45  void visit(const unop* uo);
46  void visit(const binop* bo);
47  void visit(const multop* mo);
48  void visit(const automatop* c);
49  void visit(const constant* c);
50  void visit(const bunop* c);
51 
52  virtual void doit(const atomic_prop* ap);
53  virtual void doit(const unop* uo);
54  virtual void doit(const binop* bo);
55  virtual void doit(const multop* mo);
56  virtual void doit(const automatop* mo);
57  virtual void doit(const constant* c);
58  virtual void doit(const bunop* c);
59  virtual void doit_default(const formula* f);
60  };
61  }
62 }
63 
64 #endif // SPOT_LTLVISIT_POSTFIX_HH

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Tue Jul 9 2013 14:04:33 for spot by doxygen 1.8.4