ast updated
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "InlineNode.h"
|
||||
#include "ast/InlineNode/InlineNode.h"
|
||||
|
||||
struct InlineCode : public InlineNode {
|
||||
std::string inlineCodeString;
|
||||
|
||||
NodeKind getKind() const {
|
||||
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';
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user