summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/BasicStatement.h
blob: 1b616dc8c7053e28576a465d9562444bf47df875 (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
/*
 * 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 void execute();
	virtual void accept(Visitor * vistitor);
	virtual ~BasicStatement();
};

#endif /* BASICSTATEMENT_H_ */