summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/VariableExpression.h
blob: 93df332f8059c2924aab4eb667d79e7f07ca6e44 (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
28
29
/*
 * VariableExpression.h
 *
 *  Created on: Dec 17, 2012
 *      Author: att
 */

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

class VariableExpression: public ASTExpression {
public:
	VariableExpression();
	VariableExpression(ASTNode * parent, Context * context, std::string name);

	Context * context;
	std::string name;

	void execute();
	void execute_quietly();
	SenchaObject evaluate();
	virtual ~VariableExpression();
};

#endif /* VARIABLEEXPRESSION_H_ */