spot  0.9.2
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 2 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 Spot; see the file COPYING. If not, write to the Free
21 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 // 02111-1307, USA.
23 
24 #ifndef SPOT_LTLVISIT_POSTFIX_HH
25 # define SPOT_LTLVISIT_POSTFIX_HH
26 
27 #include "ltlast/formula.hh"
28 #include "ltlast/visitor.hh"
29 
30 namespace spot
31 {
32  namespace ltl
33  {
40  class postfix_visitor : public visitor
41  {
42  public:
44  virtual ~postfix_visitor();
45 
46  void visit(const atomic_prop* ap);
47  void visit(const unop* uo);
48  void visit(const binop* bo);
49  void visit(const multop* mo);
50  void visit(const automatop* c);
51  void visit(const constant* c);
52  void visit(const bunop* c);
53 
54  virtual void doit(const atomic_prop* ap);
55  virtual void doit(const unop* uo);
56  virtual void doit(const binop* bo);
57  virtual void doit(const multop* mo);
58  virtual void doit(const automatop* mo);
59  virtual void doit(const constant* c);
60  virtual void doit(const bunop* c);
61  virtual void doit_default(const formula* f);
62  };
63  }
64 }
65 
66 #endif // SPOT_LTLVISIT_POSTFIX_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Jul 2 2012 17:35:47 for spot by doxygen 1.8.1.1