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

#include <type-ast.hh>

Inheritance diagram for vcsn::ast::context:
Collaboration diagram for vcsn::ast::context:

Public Member Functions

 context (std::shared_ptr< ast_node > ls, std::shared_ptr< ast_node > ws)
 
const std::shared_ptr< ast_nodeget_labelset () const
 
const std::shared_ptr< ast_nodeget_weightset () 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::shared_ptr< ast_nodels_
 
std::shared_ptr< ast_nodews_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ context()

vcsn::ast::context::context ( std::shared_ptr< ast_node ls,
std::shared_ptr< ast_node ws 
)
inline

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

Member Function Documentation

◆ accept()

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

Implements vcsn::ast::ast_node.

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

◆ get_labelset()

const std::shared_ptr<ast_node> vcsn::ast::context::get_labelset ( ) const
inline

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

◆ get_weightset()

const std::shared_ptr<ast_node> vcsn::ast::context::get_weightset ( ) const
inline

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

Member Data Documentation

◆ ls_

std::shared_ptr<ast_node> vcsn::ast::context::ls_
private

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

◆ ws_

std::shared_ptr<ast_node> vcsn::ast::context::ws_
private

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


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