summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/BasicStatement.h
blob: 840a8e61a6f2b8fcafd90b91918da3dee9569ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * BasicStatement.h
 *
 *  Created on: Dec 5, 2012
 *      Author: attero
 */

#ifndef BASICSTATEMENT_H_
#define BASICSTATEMENT_H_
#include <iostream>
#include "ASTExpression.h"
#include "ASTStatement.h"
#include "../Visitor.h"

class BasicStatement : public ASTStatement {
public:
	BasicStatement(ASTNode * parent);
	virtual std::string debug();
	void add_expression(ASTExpression * expr);
	virtual SenchaObject evaluate();
	virtual void execute();
	virtual void accept(Visitor * vistitor);
	virtual ~BasicStatement();
};

#endif /* BASICSTATEMENT_H_ */