Files
mdtex-compiler/source/ast/BlockNode/List.cpp
T
2026-05-18 20:19:17 +03:00

14 lines
376 B
C++

#include "ast/BlockNode/List.h"
namespace ast {
NodeKind List::getKind() const {
return NodeKind::List;
}
void List::repr(std::ostream &os, int indent) const {
os << getIndent(indent) << toString(getKind()) << '\n';
for (const std::unique_ptr<ListItem> &child : this->children) {
child->repr(os, indent + 1);
}
}
}