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


Public 成员函数 | |
| ExprLiteral () | |
| ExprLiteral (winux::Mixed const &val) | |
| virtual | ~ExprLiteral () |
| virtual ExprAtom * | clone () const |
| 克隆一个atom 更多... | |
| virtual winux::String | toString () const |
| 字符串形式输出 更多... | |
| virtual bool | evaluate (winux::SimplePointer< ExprOperand > *result) |
| 计算,结果不一定是值,还可以是其他操作数 更多... | |
| 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 () |
| 把操作数计算成可用的值,如果不能算,则抛出异常 更多... | |
| 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 第 164 行定义.
| eienexpr::ExprLiteral::ExprLiteral | ( | ) |
| eienexpr::ExprLiteral::ExprLiteral | ( | winux::Mixed const & | val | ) |
|
virtual |
|
virtual |
克隆一个atom
实现了 eienexpr::ExprAtom.
|
virtual |
计算,结果不一定是值,还可以是其他操作数
| winux::Mixed const& eienexpr::ExprLiteral::getValue | ( | ) | const |
| winux::Mixed& eienexpr::ExprLiteral::getValue | ( | ) |
| winux::Mixed::MixedType eienexpr::ExprLiteral::getValueType | ( | ) | const |
|
static |
判断是否有解析为数字的可能性
| void eienexpr::ExprLiteral::setValue | ( | winux::Mixed const & | val | ) |
|
virtual |
字符串形式输出
实现了 eienexpr::ExprAtom.
|
friend |
在文件 eienexpr.hpp 第 185 行定义.
|
protected |
在文件 eienexpr.hpp 第 183 行定义.