LoadExpression + more CodeGen
This commit is contained in:
19
inc/AST/LoadExpression.h
Normal file
19
inc/AST/LoadExpression.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef LOADEXPRESSION_H
|
||||
#define LOADEXPRESSION_H
|
||||
|
||||
#include <string>
|
||||
#include "AST/Expression.h"
|
||||
|
||||
class LoadExpression : public Expression {
|
||||
public:
|
||||
LoadExpression(std::string id);
|
||||
virtual ~LoadExpression();
|
||||
|
||||
virtual void accept(ASTVisitor *visitor);
|
||||
|
||||
std::string getId();
|
||||
private:
|
||||
std::string id_;
|
||||
};
|
||||
|
||||
#endif // LOADEXPRESSION_H
|
||||
Reference in New Issue
Block a user