14 lines
393 B
C++
14 lines
393 B
C++
#include "ast/InlineNode/Italic.h"
|
|
|
|
namespace ast {
|
|
NodeKind Italic::getKind() const {
|
|
return NodeKind::Italic;
|
|
}
|
|
|
|
void Italic::repr(std::ostream &os, int indent) const {
|
|
os << getIndent(indent) << toString(this->getKind()) << '\n';
|
|
for (const std::unique_ptr<InlineNode> &child : this->children) {
|
|
child->repr(os, indent + 1);
|
|
}
|
|
}
|
|
} |