|
fastdo
0.6.16
|
字面值操作数,无需计算 更多...
#include <eienexpr.hpp>


Public 成员函数 | |
| ExprLiteral () | |
| ExprLiteral (winux::Mixed const &val) | |
| virtual | ~ExprLiteral () |
| virtual ExprAtom * | clone () const override |
| 克隆一个atom 更多... | |
| virtual winux::String | toString () const override |
| 字符串形式输出 更多... | |
| virtual bool | evaluate (winux::SimplePointer< ExprOperand > *result) const override |
| 计算,结果不一定是值,还可以是其他操作数 更多... | |
| winux::Mixed::MixedType | getValueType () const |
| winux::Mixed const & | getValue () const |
| winux::Mixed & | getValue () |
| void | setValue (winux::Mixed const &val) |
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 | NumberPossibility (winux::String const &str, bool *isFloat=NULL, bool *isExp=NULL) |
| 判断是否有解析为数字的可能性 更多... | |
Protected 属性 | |
| winux::Mixed | _val |
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 第 173 行定义.
| eienexpr::ExprLiteral::ExprLiteral | ( | ) |
| eienexpr::ExprLiteral::ExprLiteral | ( | winux::Mixed const & | val | ) |
|
virtual |
|
overridevirtual |
克隆一个atom
实现了 eienexpr::ExprAtom.
|
overridevirtual |
字符串形式输出
实现了 eienexpr::ExprAtom.
|
overridevirtual |
计算,结果不一定是值,还可以是其他操作数
|
inline |
在文件 eienexpr.hpp 第 184 行定义.
|
inline |
在文件 eienexpr.hpp 第 185 行定义.
|
inline |
在文件 eienexpr.hpp 第 186 行定义.
|
inline |
在文件 eienexpr.hpp 第 187 行定义.
|
static |
判断是否有解析为数字的可能性
|
friend |
在文件 eienexpr.hpp 第 195 行定义.
|
protected |
在文件 eienexpr.hpp 第 193 行定义.