12 lines
220 B
C++
12 lines
220 B
C++
#pragma once
|
|
|
|
#include "InlineNode.h"
|
|
|
|
struct Link : public InlineNode {
|
|
std::string url;
|
|
std::vector<std::unique_ptr<InlineNode>> children;
|
|
|
|
NodeKind getKind() const {
|
|
return NodeKind::Link;
|
|
}
|
|
}; |