2015-12-08 04:51:55 +08:00
|
|
|
#pragma once
|
2015-08-30 07:12:46 +08:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "ast_node.hpp"
|
|
|
|
|
|
|
|
namespace ast
|
|
|
|
{
|
|
|
|
|
|
|
|
struct Identifier : public AstNode<Identifier>
|
|
|
|
{
|
2016-01-24 23:21:46 +08:00
|
|
|
Identifier(std::string name)
|
|
|
|
: name(name) {}
|
2016-01-20 06:36:00 +08:00
|
|
|
|
2015-08-30 07:12:46 +08:00
|
|
|
std::string name;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|