2012-11-17 16:02:32 +00:00
|
|
|
/*
|
|
|
|
* ASTExpression.h
|
|
|
|
*
|
|
|
|
* Created on: Nov 4, 2012
|
|
|
|
* Author: attero
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ASTEXPRESSION_H_
|
|
|
|
#define ASTEXPRESSION_H_
|
2012-12-05 19:32:43 +00:00
|
|
|
#include <string>
|
2012-11-17 16:02:32 +00:00
|
|
|
#include "ASTNode.h"
|
|
|
|
|
|
|
|
class ASTExpression : public ASTNode {
|
|
|
|
public:
|
2012-12-05 19:32:43 +00:00
|
|
|
|
2012-12-05 22:27:03 +00:00
|
|
|
virtual SenchaObject evaluate() = 0;
|
2012-12-07 15:58:27 +00:00
|
|
|
virtual void execute() = 0;
|
2012-12-09 11:57:51 +00:00
|
|
|
virtual void execute_quietly() = 0;
|
2012-12-06 17:41:16 +00:00
|
|
|
ASTExpression();
|
2012-11-17 16:02:32 +00:00
|
|
|
virtual ~ASTExpression();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* ASTEXPRESSION_H_ */
|