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

#include <WhileCommand.h>

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

Public Member Functions

 WhileCommand (std::unique_ptr< Expression > condition, std::unique_ptr< Command > body)
 
CommandResult run (Environment &environment) const override
 
- Public Member Functions inherited from cli::Command
virtual ~Command () noexcept=default
 

Constructor & Destructor Documentation

◆ WhileCommand()

cli::WhileCommand::WhileCommand ( std::unique_ptr< Expression condition,
std::unique_ptr< Command body 
)
inline

Member Function Documentation

◆ run()

CommandResult cli::WhileCommand::run ( Environment environment) const
inlineoverridevirtual

Implements cli::Command.

Here is the call graph for this function:

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