2026-02-09 15:00:26 -07:00
|
|
|
#pragma once
|
|
|
|
|
#include "ASTNode.h"
|
2026-02-10 02:12:48 -07:00
|
|
|
#include <vector>
|
2026-02-09 15:00:26 -07:00
|
|
|
|
|
|
|
|
class ExternalModule : public ASTNode {
|
|
|
|
|
public:
|
|
|
|
|
std::string name;
|
|
|
|
|
std::string version;
|
|
|
|
|
std::string language;
|
2026-02-10 02:12:48 -07:00
|
|
|
std::vector<std::string> semanticTags;
|
2026-02-09 15:00:26 -07:00
|
|
|
|
|
|
|
|
ExternalModule() { conceptType = "ExternalModule"; }
|
|
|
|
|
ExternalModule(const std::string& id, const std::string& name,
|
|
|
|
|
const std::string& language,
|
|
|
|
|
const std::string& version = "")
|
|
|
|
|
: name(name), version(version), language(language) {
|
|
|
|
|
this->id = id;
|
|
|
|
|
this->conceptType = "ExternalModule";
|
|
|
|
|
}
|
|
|
|
|
// children: signatures (0..n) via addChild("signatures", TypeSignature*)
|
|
|
|
|
};
|