refactored ast, started lexer
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include "ast/InlineNode/InlineCode.h"
|
||||
|
||||
namespace ast {
|
||||
NodeKind InlineCode::getKind() const {
|
||||
return NodeKind::InlineCode;
|
||||
}
|
||||
|
||||
void InlineCode::repr(std::ostream &os, int indent) const {
|
||||
os << getIndent(indent) << toString(getKind()) << " inline code: " << this->inlineCodeString << '\n';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user