teditor
1.8.0@@fee5e94
Terminal based editor written in C++
src
extensions
calc
extensions/calc/mode.h
Go to the documentation of this file.
1
#include "
core/utils.h
"
2
#include "
number.h
"
3
#include <unordered_map>
4
#include <string>
5
6
namespace
teditor
{
7
namespace
calc {
8
9
typedef
std::unordered_map<std::string, Num64>
VarMap
;
10
11
VarMap
&
vars
();
12
History
&
cmds
();
13
void
addCmd
(
const
std::string& c);
14
15
}
// namespace calc
16
}
// namespace teditor
teditor::calc::addCmd
void addCmd(const std::string &c)
Definition:
extensions/calc/mode.cpp:22
teditor::calc::VarMap
std::unordered_map< std::string, Num64 > VarMap
Definition:
extensions/calc/mode.h:9
utils.h
teditor::History
Container to store history (files-visited or command-history, etc)
Definition:
utils.h:115
teditor::calc::vars
VarMap & vars()
Definition:
extensions/calc/mode.cpp:11
number.h
teditor::calc::cmds
History & cmds()
Definition:
extensions/calc/mode.cpp:16
teditor
Definition:
any.hpp:10
Generated by
1.8.17