Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
vcsn::ast Namespace Reference

Classes

class  ast_node
 
class  automaton
 
class  context
 
class  context_parser
 
class  context_printer
 
class  context_visitor
 
class  genset
 Represents the "alphabets", or "generator set". More...
 
class  letterset
 Support for letterset<GenSet>. More...
 
class  nullableset
 
class  oneset
 
class  other
 
class  polynomialset
 
class  ratexpset
 
class  signature_printer
 
class  tupleset
 
class  weightset
 
class  wordset
 Support for wordset<GenSet>. More...
 

Functions

std::string normalize (const std::string &sig)
 The signature, normalized. More...
 
static void check_eof (std::istream &is, std::shared_ptr< ast_node > res)
 We managed to read res in is, check that is is finished. More...
 

Function Documentation

static void vcsn::ast::check_eof ( std::istream &  is,
std::shared_ptr< ast_node >  res 
)
static

We managed to read res in is, check that is is finished.

Definition at line 15 of file context-parser.cc.

References vcsn::fail_reading().

Referenced by vcsn::ast::context_parser::parse(), and vcsn::ast::context_parser::parse_context().

Here is the call graph for this function:

std::string vcsn::ast::normalize ( const std::string &  sig)

The signature, normalized.

For instance 'lan_char(ab), b' -> 'lan<letterset<char_letters(ab)>, b'

Definition at line 12 of file signature-printer.cc.

References is, os, and vcsn::ast::context_parser::parse().

Referenced by vcsn::dyn::make_context().

Here is the call graph for this function: