Some work on Expression and Operand.
This commit is contained in:
1 parent
ea3d1a7ad0
commit
8475ef01d1
6 files changed
+96
-18
No files matched your search
@@ -0,0 +1,35 @@
|
||||
#ifndef __Operand_h__
|
||||
#define __Operand_h__
|
||||
|
||||
#include "ZString.h"
|
||||
|
||||
namespace jet {
|
||||
|
||||
class Operand {
|
||||
|
||||
public:
|
||||
Operand(coreutils::ZString &in);
|
||||
|
||||
bool isNumber();
|
||||
bool isInteger();
|
||||
bool isFloat();
|
||||
bool isString();
|
||||
bool isVariable();
|
||||
|
||||
|
||||
///
|
||||
/// boolean is set by internal processes to return the boolean
|
||||
/// equivilent value.
|
||||
///
|
||||
|
||||
bool boolean;
|
||||
|
||||
private:
|
||||
// dataType enum ={};
|
||||
double doubleValue;
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user