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

#include <SingleStatement.h>

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

Public Member Functions

 SingleStatement (std::unique_ptr< cli::Arg > name, ext::vector< std::unique_ptr< cli::Arg > > templateParams, ext::vector< std::shared_ptr< Statement > > params, std::unique_ptr< CategoryOption > category)
 
std::shared_ptr< abstraction::ValuetranslateAndEval (const std::shared_ptr< abstraction::Value > &prev, Environment &environment) const override
 
- Public Member Functions inherited from cli::Statement
virtual ~Statement () noexcept=default
 

Constructor & Destructor Documentation

◆ SingleStatement()

cli::SingleStatement::SingleStatement ( std::unique_ptr< cli::Arg name,
ext::vector< std::unique_ptr< cli::Arg > >  templateParams,
ext::vector< std::shared_ptr< Statement > >  params,
std::unique_ptr< CategoryOption category 
)

Member Function Documentation

◆ translateAndEval()

std::shared_ptr< abstraction::Value > cli::SingleStatement::translateAndEval ( const std::shared_ptr< abstraction::Value > &  prev,
Environment environment 
) const
overridevirtual

Implements cli::Statement.

Here is the call graph for this function:

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