33         scanner_->scan_open_(is);
 
   44                     "missing vcsn_context definition");
 
   45             res = edit_->result();
 
   48         scanner_->scan_close_();
 
   61         catch (std::runtime_error& e)
 
   63             raise(l, 
": ", e.what());
 
   65         edit_->set_separator(
',');
 
   71         std::ostringstream er;
 
   73         if (!!getenv(
"YYDEBUG"))
 
   74           std::cerr << er.str() << std::endl;
 
   81         error(l, 
"invalid input: " + s);
 
context make_context(const std::string &name)
Build a context from its name. 
 
std::shared_ptr< vcsn::automaton_editor > edit_
An automaton editor that stores the one being built. 
 
std::string errors
The error messages. 
 
Define the vcsn::detail::dot::parser class. 
 
void invalid(const location_t &l, const std::string &s)
The string s is invalid at l. 
 
void require(Bool b, Args &&...args)
If b is not verified, raise an error with args as message. 
 
dyn::automaton parse(std::istream &is, const location_t &l=location_t{})
Parse this stream. 
 
void set_debug_level(debug_level_type l)
Set the current debugging level. 
 
automaton_editor * make_automaton_editor(const context &ctx)
Build an automatonset from its context. 
 
virtual int parse()
Parse. 
 
void error(const location_t &l, const std::string &m)
Report an error m at l. 
 
void setup_(const location_t &l, const std::string &ctx)
From context_, build edit_. 
 
std::ostream & dot(const Aut &aut, std::ostream &out=std::cout, format fmt={})
Print an automaton in Graphviz's Dot format.