more unknown work
This commit is contained in:
1 parent
d915714b4d
commit
31cca91873
2 files changed
+39
No files matched your search
@@ -0,0 +1,22 @@
|
|||||||
|
#include "Expression.h"
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
namespace jet {
|
||||||
|
|
||||||
|
Expression::Expression(coreutils::ZString &expression) : MString("zzz") {
|
||||||
|
std::cout << "Expression construction:" << expression << std::endl;
|
||||||
|
// if(expression.equals("true"))
|
||||||
|
// MString("true");
|
||||||
|
// else if(expression.equals("false"))
|
||||||
|
// MString("false");
|
||||||
|
// else if(expression.equals(""))
|
||||||
|
// MString("false");
|
||||||
|
// else
|
||||||
|
// MString("true");
|
||||||
|
}
|
||||||
|
|
||||||
|
Expression::~Expression() {
|
||||||
|
std::cout << "Expression destruction:" << getLength() << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
#ifndef __Expression_h__
|
||||||
|
#define __expression_h__
|
||||||
|
|
||||||
|
#include "MString.h"
|
||||||
|
|
||||||
|
namespace jet {
|
||||||
|
|
||||||
|
class Expression : public coreutils::MString {
|
||||||
|
|
||||||
|
public:
|
||||||
|
Expression(coreutils::ZString &expression);
|
||||||
|
virtual ~Expression();
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in new issue
Block a user