spot  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
public.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2009, 2012, 2013 Laboratoire de Recherche et Développement
3 // de l'Epita.
4 // Copyright (C) 2003, 2004, 2005, 2006 Laboratoire
5 // d'Informatique de Paris 6 (LIP6), département Systèmes Répartis
6 // Coopératifs (SRC), Université Pierre et Marie Curie.
7 //
8 // This file is part of Spot, a model checking library.
9 //
10 // Spot is free software; you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation; either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // Spot is distributed in the hope that it will be useful, but WITHOUT
16 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
18 // License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with this program. If not, see <http://www.gnu.org/licenses/>.
22 
23 #ifndef SPOT_TGBAPARSE_PUBLIC_HH
24 # define SPOT_TGBAPARSE_PUBLIC_HH
25 
26 # include "tgba/tgbaexplicit.hh"
27 # include "misc/location.hh"
28 # include "ltlenv/defaultenv.hh"
29 # include <string>
30 # include <list>
31 # include <utility>
32 # include <iosfwd>
33 
34 namespace spot
35 {
38 
39 #ifndef SWIG
40  typedef std::pair<spot::location, std::string> tgba_parse_error;
43  typedef std::list<tgba_parse_error> tgba_parse_error_list;
44 #else
45  // Turn parse_error_list into an opaque type for Swig.
46  struct tgba_parse_error_list {};
47 #endif
48 
68  SPOT_API
69  tgba_explicit_string* tgba_parse(const std::string& filename,
70  tgba_parse_error_list& error_list,
71  bdd_dict* dict,
72  ltl::environment& env
74  ltl::environment& envacc
76  bool debug = false);
77 
84  SPOT_API
85  bool format_tgba_parse_errors(std::ostream& os,
86  const std::string& filename,
87  tgba_parse_error_list& error_list);
88 
90 }
91 
92 #endif // SPOT_TGBAPARSE_PUBLIC_HH

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Sat Dec 6 2014 12:28:43 for spot by doxygen 1.8.4