summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/BasicExpression.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/BasicExpression.h')
-rw-r--r--Sencha-lang/AST/BasicExpression.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Sencha-lang/AST/BasicExpression.h b/Sencha-lang/AST/BasicExpression.h
index cf6d80e..ee67a54 100644
--- a/Sencha-lang/AST/BasicExpression.h
+++ b/Sencha-lang/AST/BasicExpression.h
@@ -8,7 +8,6 @@
#ifndef BASICEXPRESSION_H_
#define BASICEXPRESSION_H_
#include "ASTExpression.h"
-#include <string>
class BasicExpression : public ASTExpression {
public:
@@ -20,9 +19,11 @@ public:
void set_operator(std::string op);
void set_left_operand(ASTNode * left);
void set_right_operand(ASTNode * right);
- virtual int evaluate();
+ virtual SenchaObject evaluate();
- BasicExpression();
+ virtual std::string debug();
+
+ BasicExpression(ASTNode * parent);
virtual ~BasicExpression();
};