Vaucanson  1.4.1
krat_exp_parser.hh
Go to the documentation of this file.
1 // krat_exp_parser.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2008 The Vaucanson Group.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 //
12 // The complete GNU General Public Licence Notice can be found as the
13 // `COPYING' file in the root directory.
14 //
15 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
16 //
17 
18 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH
19 # define VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH
20 
36 # include <vector>
37 # include <string>
38 
40 # include <vaucanson/design_pattern/design_pattern.hh>
41 # include <vaucanson/algebra/concept/letter.hh>
42 
43 namespace vcsn {
44 
45  namespace algebra {
90  template <class S, class T>
91  std::pair<bool, std::string>
92  parse(const std::string& from,
93  Element<S, T>& exp,
94  bool lex_trace = false,
95  bool parse_trace = false);
96 
100  } // algebra
101 
102 } // vcsn
103 
104 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
105 # include <vaucanson/algebra/implementation/series/krat_exp_parser.hxx>
106 # endif // VCSN_USE_INTERFACE_ONLY
107 
108 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH