more unknown work
This commit is contained in:
parent
d915714b4d
commit
31cca91873
22
Expression.cpp
Normal file
22
Expression.cpp
Normal file
@ -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;
|
||||
}
|
||||
|
||||
}
|
17
Expression.h
Normal file
17
Expression.h
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user