|
fastdo
0.6.16
|
标识符(变量)操作数 更多...
#include <eienexpr.hpp>


Public 成员函数 | |
| ExprIdentifier (Expression *exprObj, winux::String const &name) | |
| virtual | ~ExprIdentifier () |
| virtual ExprAtom * | clone () const override |
| 克隆一个atom 更多... | |
| virtual winux::String | toString () const override |
| 字符串形式输出 更多... | |
| virtual bool | evaluate (winux::SimplePointer< ExprOperand > *result) const override |
| 计算,结果不一定是值,还可以是其他操作数 更多... | |
| winux::String const & | getName () const |
| void | setVar (winux::Mixed const &val) |
| 设置变量值 更多... | |
| winux::Mixed const & | getVar () const |
| 获取变量值 更多... | |
| VarContext * | getVarContext () const |
| 获取变量场景 更多... | |
| Expression * | getExprObj () const |
| 获取关联的表达式对象 更多... | |
Public 成员函数 继承自 eienexpr::ExprOperand | |
| ExprOperand () | |
| virtual | ~ExprOperand () |
| winux::Mixed | val () const |
| 把操作数计算成可用的值,如果不能算,则抛出异常 更多... | |
| bool | evaluateMixedPtr (winux::Mixed **ppv) const |
| 求值取得Reference或Identifier,获取内部的Mixed指针 更多... | |
| ExprOperandType | getOperandType () const |
| 取得操作数类型 更多... | |
Public 成员函数 继承自 eienexpr::ExprAtom | |
| ExprAtom () | |
| virtual | ~ExprAtom () |
| ExprAtomType | getAtomType () const |
| 原子类型 更多... | |
静态 Public 成员函数 | |
| static bool | Possibility (winux::String const &str) |
Protected 属性 | |
| Expression * | _exprObj |
| winux::String | _name |
Protected 属性 继承自 eienexpr::ExprOperand | |
| ExprOperandType | _operandType |
Protected 属性 继承自 eienexpr::ExprAtom | |
| ExprAtomType | _atomType |
友元 | |
| class | ExprParser |
额外继承的成员函数 | |
Public 类型 继承自 eienexpr::ExprOperand | |
| enum | ExprOperandType { eotLiteral, eotIdentifier, eotReference, eotFunction, eotExpression } |
Public 类型 继承自 eienexpr::ExprAtom | |
| enum | ExprAtomType { eatOperator, eatOperand } |
标识符(变量)操作数
在文件 eienexpr.hpp 第 199 行定义.
| eienexpr::ExprIdentifier::ExprIdentifier | ( | Expression * | exprObj, |
| winux::String const & | name | ||
| ) |
|
virtual |
|
overridevirtual |
克隆一个atom
实现了 eienexpr::ExprAtom.
|
overridevirtual |
字符串形式输出
实现了 eienexpr::ExprAtom.
|
overridevirtual |
计算,结果不一定是值,还可以是其他操作数
|
inline |
在文件 eienexpr.hpp 第 209 行定义.
| void eienexpr::ExprIdentifier::setVar | ( | winux::Mixed const & | val | ) |
设置变量值
| winux::Mixed const& eienexpr::ExprIdentifier::getVar | ( | ) | const |
获取变量值
| VarContext* eienexpr::ExprIdentifier::getVarContext | ( | ) | const |
获取变量场景
|
inline |
获取关联的表达式对象
在文件 eienexpr.hpp 第 221 行定义.
|
static |
|
friend |
在文件 eienexpr.hpp 第 229 行定义.
|
protected |
在文件 eienexpr.hpp 第 226 行定义.
|
protected |
在文件 eienexpr.hpp 第 227 行定义.