More stuff! Tons of stuff!

This commit is contained in:
Markus Hauschild
2013-06-01 00:16:38 +02:00
parent 28ca85b94e
commit a778d524b1
11 changed files with 111 additions and 11 deletions

View File

@@ -0,0 +1,25 @@
#ifndef VARIABLEDEFINITION_H
#define VARIABLEDEFINITION_H
#include <string>
#include "AST/Statement.h"
class VariableDefinition : public Statement
{
public:
VariableDefinition(int type, std::string name);
virtual ~VariableDefinition();
virtual void accept(ASTVisitor* visitor);
// Type* getType();
int getType();
std::string getName();
private:
// Type* type_
int type_;
std::string name_;
};
#endif // VARIABLEDEFINITION_H