Vcsn  2.8
Be Rational
vcsn::ast::weightset Class Reference

#include <type-ast.hh>

Inheritance diagram for vcsn::ast::weightset:
Collaboration diagram for vcsn::ast::weightset:

Public Member Functions

 weightset (const std::string &type)
 
const std::string & get_type () const
 
virtual void accept (context_visitor &v) const
 
- Public Member Functions inherited from vcsn::ast::ast_node
virtual ~ast_node ()=default
 
virtual bool has_one () const
 

Private Attributes

std::string type_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ weightset()

vcsn::ast::weightset::weightset ( const std::string &  type)
inline

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

Member Function Documentation

◆ accept()

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

Implements vcsn::ast::ast_node.

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

◆ get_type()

const std::string& vcsn::ast::weightset::get_type ( ) const
inline

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

Member Data Documentation

◆ type_

std::string vcsn::ast::weightset::type_
private

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


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