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

33 lines
673 B
C++

/*
* PostfixExpression.h
*
* Created on: Dec 5, 2012
* Author: attero
*/
#ifndef POSTFIXEXPRESSION_H_
#define POSTFIXEXPRESSION_H_
#include "ASTExpression.h"
#include "ASTStatement.h"
#include "../Context.h"
class PostfixExpression : public ASTExpression {
public:
std::string name;
bool native;
Context * context;
std::vector<ASTExpression *> arguments;
void set_name(std::string name);
void add_argument(ASTExpression * expression);
virtual SenchaObject evaluate();
virtual void execute();
virtual void execute_quietly(){ execute();
};
PostfixExpression( Context * context);
virtual ~PostfixExpression();
};
#endif /* POSTFIXEXPRESSION_H_ */