11 lines
296 B
C++
11 lines
296 B
C++
#include "ast/InlineNode/Text.h"
|
|
|
|
namespace ast {
|
|
NodeKind Text::getKind() const {
|
|
return NodeKind::Text;
|
|
}
|
|
|
|
void Text::repr(std::ostream &os, int indent) const {
|
|
os << getIndent(indent) << toString(this->getKind()) << " text: " << shorten(this->text) << '\n';
|
|
}
|
|
} |