00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH
00019 # define VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH
00020 
00036 # include <vector>
00037 # include <string>
00038 
00039 # include <vaucanson/misc/contract.hh>
00040 # include <vaucanson/design_pattern/design_pattern.hh>
00041 # include <vaucanson/algebra/concept/letter.hh>
00042 
00043 namespace vcsn {
00044 
00045   namespace algebra {
00090     template <class S, class T>
00091     std::pair<bool, std::string>
00092     parse(const std::string& from,
00093           Element<S, T>& exp,
00094           const token_representation<typename S::monoid_t::letter_t> tok_rep
00095           = token_representation<typename S::monoid_t::letter_t>(),
00096           bool lex_trace = false,
00097           bool parse_trace = false);
00098 
00102   } 
00103 
00104 } 
00105 
00106 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
00107 #  include <vaucanson/algebra/implementation/series/krat_exp_parser.hxx>
00108 # endif // VCSN_USE_INTERFACE_ONLY
00109 
00110 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH