eval.hpp

来自「building parser with C++ functions」· HPP 代码 · 共 23 行

HPP
23
字号
/** * \file eval.hpp * * Encapsulates the interface for the expression evaluator function. */#ifndef EVAL_HPP#define EVAL_HPP#include "cons.hpp"using namespace std;/** * \brief Evaluate the expression tree whose root is pointed to by c * (error if c does not hold a well-formed expression). * * \return The value resulting from evaluating the expression. */Cell* eval(Cell* const c);#endif // EVAL_HPP

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?