Files
mdtex-compiler/include/ast/InlineNode/InlineCode.h
T
2026-05-17 16:30:49 +03:00

15 lines
392 B
C++

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