25 lines
391 B
C++
25 lines
391 B
C++
#pragma once
|
|
|
|
#include "list.hpp"
|
|
#include "identifier.hpp"
|
|
|
|
namespace ast
|
|
{
|
|
|
|
struct LabelList : public List<Identifier, LabelList>
|
|
{
|
|
using List::List;
|
|
};
|
|
|
|
struct Node : public AstNode<Node>
|
|
{
|
|
Node(Identifier* idn, LabelList* labels, PropertyList* props)
|
|
: idn(idn), labels(labels), props(props) {}
|
|
|
|
Identifier* idn;
|
|
LabelList* labels;
|
|
PropertyList* props;
|
|
};
|
|
|
|
}
|