Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
alib2cli
src
ast
command
EOTCommand.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <
ast/Command.h
>
9
#include <
environment/Environment.h
>
10
11
namespace
cli
{
12
13
class
EOTCommand
:
public
Command
{
14
public
:
15
CommandResult
run
(
Environment
&
/* environment */
)
const override
{
16
return
CommandResult::EOT
;
17
}
18
};
19
20
}
/* namespace cli */
21
Command.h
Environment.h
cli::Command
Definition:
Command.h:14
cli::EOTCommand
Definition:
EOTCommand.h:13
cli::EOTCommand::run
CommandResult run(Environment &) const override
Definition:
EOTCommand.h:15
cli::Environment
Definition:
Environment.h:29
cli
Definition:
Arg.h:11
cli::CommandResult
CommandResult
Definition:
CommandResult.h:10
cli::CommandResult::EOT
@ EOT
Generated on Mon Dec 27 2021 10:21:52 for Algorithms Library Toolkit by
1.9.2