Vcsn  2.8
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 148 of file type-ast.hh.

Constructor & Destructor Documentation

◆ genset()

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

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

Member Function Documentation

◆ accept()

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

Implements vcsn::ast::ast_node.

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

◆ generators()

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

The generators.

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

◆ letter_type()

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

The char type.

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

Member Data Documentation

◆ generators_

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

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

◆ letter_type_

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

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


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