#pragma once #include "ast/InlineNode/InlineNode.h" #include "utils/shorten.hpp" struct Text : public InlineNode { std::string text; NodeKind getKind() const override { return NodeKind::Text; } void repr(std::ostream &os, int indent) const override { os << getIndent(indent) << toString(this->getKind()) << " text: " << shorten(this->text) << '\n'; } };