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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Sencha-lang/AST/BasicExpression.h b/Sencha-lang/AST/BasicExpression.h
index cdb0b68..505b045 100644
--- a/Sencha-lang/AST/BasicExpression.h
+++ b/Sencha-lang/AST/BasicExpression.h
@@ -12,22 +12,23 @@
class BasicExpression : public ASTExpression {
public:
- std::string oper;
-
- bool children_set;
void set_operator(std::string op);
void set_left_operand(ASTNode * left);
void set_right_operand(ASTNode * right);
virtual SenchaObject evaluate();
virtual void execute();
virtual void execute_quietly();
-
+ std::string get_operator() { return oper; }
std::string debug() ;
virtual void accept(Visitor * visitor);
BasicExpression(ASTNode * parent);
virtual ~BasicExpression();
+
+private:
+ bool children_set;
+ std::string oper;
};
#endif /* BASICEXPRESSION_H_ */