Moved Common to external git repo

Also changed namespace from LXC to PashaBibko::LXC
This commit is contained in:
Pasha Bibko
2025-08-09 21:31:36 +01:00
parent 3c638fa92b
commit a54c0ccbab
26 changed files with 135 additions and 632 deletions

View File

@@ -1,11 +1,11 @@
#pragma once
#include <LXC.h>
#include <Util.h>
#include <NodeTypes.h>
#include <Lexer.h>
namespace LXC::Parser
namespace PashaBibko::LXC::Parser
{
struct ParserError {};
@@ -15,6 +15,8 @@ namespace LXC::Parser
name{}, contents{}, funcParams{}
{}
FunctionAST(const FunctionAST& other) = delete;
FunctionAST(FunctionAST&& other) noexcept :
name(std::move(other.name)), contents(std::move(other.contents)), funcParams(std::move(other.funcParams))
{}