| 
    fastdo
    0.5.12
    
   | 
 
表达式操作数 更多...
#include <eienexpr.hpp>


Public 类型 | |
| enum | ExprOperandType {  eotLiteral, eotIdentifier, eotReference, eotFunction, eotExpression }  | 
  Public 类型 继承自 eienexpr::ExprAtom | |
| enum | ExprAtomType { eatOperator, eatOperand } | 
Public 成员函数 | |
| ExprOperand () | |
| virtual | ~ExprOperand () | 
| virtual bool | evaluate (winux::SimplePointer< ExprOperand > *result)=0 | 
| 计算,结果不一定是值,还可以是其他操作数  更多... | |
| winux::Mixed | val () | 
| 把操作数计算成可用的值,如果不能算,则抛出异常  更多... | |
| ExprOperandType | getOperandType () const | 
| 取得操作数类型  更多... | |
  Public 成员函数 继承自 eienexpr::ExprAtom | |
| ExprAtom () | |
| virtual | ~ExprAtom () | 
| virtual ExprAtom * | clone () const =0 | 
| 克隆一个atom  更多... | |
| ExprAtomType | getAtomType () const | 
| 原子类型  更多... | |
| virtual winux::String | toString () const =0 | 
| 字符串形式输出  更多... | |
Protected 属性 | |
| ExprOperandType | _operandType | 
  Protected 属性 继承自 eienexpr::ExprAtom | |
| ExprAtomType | _atomType | 
友元 | |
| class | ExprParser | 
表达式操作数
在文件 eienexpr.hpp 第 135 行定义.
| 枚举值 | |
|---|---|
| eotLiteral | 
 普通的字面值  | 
| eotIdentifier | 
 标识符(变量)  | 
| eotReference | 
 内部引用  | 
| eotFunction | 
 函数  | 
| eotExpression | 
 子表达式  | 
在文件 eienexpr.hpp 第 138 行定义.
| eienexpr::ExprOperand::ExprOperand | ( | ) | 
      
  | 
  virtual | 
      
  | 
  pure virtual | 
计算,结果不一定是值,还可以是其他操作数
在 eienexpr::Expression, eienexpr::ExprFunc, eienexpr::ExprReference, eienexpr::ExprIdentifier , 以及 eienexpr::ExprLiteral 内被实现.
| ExprOperandType eienexpr::ExprOperand::getOperandType | ( | ) | const | 
取得操作数类型
| winux::Mixed eienexpr::ExprOperand::val | ( | ) | 
把操作数计算成可用的值,如果不能算,则抛出异常
      
  | 
  friend | 
在文件 eienexpr.hpp 第 160 行定义.
      
  | 
  protected | 
在文件 eienexpr.hpp 第 158 行定义.