sencha-lang/Sencha-lang/AST/VariableExpression.h

30 lines
552 B
C
Raw Normal View History

/*
* 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(Context * context, std::string name);
Context * context;
std::string name;
void execute();
void execute_quietly();
SenchaObject evaluate();
virtual ~VariableExpression();
};
#endif /* VARIABLEEXPRESSION_H_ */