Vcsn  2.2
Be Rational
vcsn::ast Namespace Reference

Classes

class  ast_node
 
class  automaton
 
class  context
 
class  context_parser
 
class  context_printer
 
class  context_visitor
 
class  expansionset
 
class  expressionset
 
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  signature_printer
 
class  tuple
 
class  tupleset
 
class  weightset
 
class  wordset
 Support for wordset<GenSet>. More...
 

Functions

std::string normalize_context (const std::string &ctx, bool full=true)
 A context, normalized. More...
 

Function Documentation

std::string vcsn::ast::normalize_context ( const std::string &  ctx,
bool  full = true 
)

A context, normalized.

E.g., 'lan_char(ab), b' -> 'lan<letterset<char_letters(ab)>, b'.

Parameters
ctxthe context to normalize.
fullwhether to keep the runtime values (e.g., the generators: 'lan<letterset<char_letters(ab)>, b' or 'lan<letterset<char_letters>, b').

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

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

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

Here is the call graph for this function: