summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/Assignment.h
blob: 6ef3a48068a7ad96a60217340c78c243862e8f5b (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
27
/*
 * Assignment.h
 *
 *  Created on: Dec 7, 2012
 *      Author: attero
 */

#ifndef ASSIGNMENT_H_
#define ASSIGNMENT_H_
#include <string>
#include "ASTExpression.h"
#include "../Context.h"

class Assignment : public ASTExpression {
public:
	Context * context;

	SenchaObject evaluate();
	void execute();
	void add_lvalue(ASTExpression *);
	void add_rvalue(ASTExpression *);
	virtual std::string debug() ;
	Assignment(ASTNode * parent, Context * context);
	virtual ~Assignment();
};

#endif /* ASSIGNMENT_H_ */