Vcsn  2.2
Be Rational
vcsn::ast::genset Class Reference

Represents the "alphabets", or "generator set". More...

#include <type-ast.hh>

Inheritance diagram for vcsn::ast::genset:
Collaboration diagram for vcsn::ast::genset:

Public Member Functions

 genset (const std::string &letter_type, const std::string &gens)
 
virtual void accept (context_visitor &v) const
 
const std::string & letter_type () const
 The char type. More...
 
const std::string & generators () const
 The generators. More...
 
- Public Member Functions inherited from vcsn::ast::ast_node
virtual ~ast_node ()=default
 
virtual bool has_one () const
 

Private Attributes

const std::string letter_type_
 
const std::string generators_
 

Detailed Description

Represents the "alphabets", or "generator set".

e.g. "char_letter(abc)".

Definition at line 145 of file type-ast.hh.

Constructor & Destructor Documentation

vcsn::ast::genset::genset ( const std::string &  letter_type,
const std::string &  gens 
)
inline

Definition at line 148 of file type-ast.hh.

Member Function Documentation

virtual void vcsn::ast::genset::accept ( context_visitor v) const
inlinevirtual

Implements vcsn::ast::ast_node.

Definition at line 153 of file type-ast.hh.

const std::string& vcsn::ast::genset::generators ( ) const
inline

The generators.

Definition at line 162 of file type-ast.hh.

const std::string& vcsn::ast::genset::letter_type ( ) const
inline

The char type.

Definition at line 156 of file type-ast.hh.

Member Data Documentation

const std::string vcsn::ast::genset::generators_
private

Definition at line 169 of file type-ast.hh.

const std::string vcsn::ast::genset::letter_type_
private

Definition at line 168 of file type-ast.hh.


The documentation for this class was generated from the following file: