Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions
cli::StatementList Class Referencefinal

#include <StatementList.h>

Inheritance diagram for cli::StatementList:
[legend]
Collaboration diagram for cli::StatementList:
[legend]

Public Member Functions

 StatementList (ext::vector< std::shared_ptr< Statement > > statements)
 
std::shared_ptr< abstraction::ValuetranslateAndEval (const std::shared_ptr< abstraction::Value > &, Environment &environment) const override
 
void append (std::shared_ptr< Statement > statement)
 
- Public Member Functions inherited from cli::Statement
virtual ~Statement () noexcept=default
 

Constructor & Destructor Documentation

◆ StatementList()

cli::StatementList::StatementList ( ext::vector< std::shared_ptr< Statement > >  statements)
inline

Member Function Documentation

◆ append()

void cli::StatementList::append ( std::shared_ptr< Statement statement)
inline

◆ translateAndEval()

std::shared_ptr< abstraction::Value > cli::StatementList::translateAndEval ( const std::shared_ptr< abstraction::Value > &  ,
Environment environment 
) const
inlineoverridevirtual

Implements cli::Statement.

Here is the call graph for this function:
Here is the caller graph for this function:

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