Precommit (#1)

* first commit

* cleanup
This commit is contained in:
tompzf
2025-11-04 13:28:06 +01:00
committed by GitHub
parent dba45dc636
commit 6ed4b1534e
898 changed files with 256340 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#include "root_entity.h"
#include "module_entity.h"
#include "../exception.h"
#include "../token.h"
CRootEntity::CRootEntity(CParser& rParser, const CContextPtr& rptrContext) :
CModuleEntity(rParser, rptrContext)
{}
void CRootEntity::Process()
{
// Skip the definition and process the content directly.
ProcessContent();
}
bool CRootEntity::IsExtendable() const
{
return false;
}
void CRootEntity::AddMeta(const CEntityPtr& ptrMeta)
{
m_lstMetaEntities.push_back(ptrMeta);
}
const CEntityList& CRootEntity::GetMeta() const
{
return m_lstMetaEntities;
}