diff options
Diffstat (limited to 'starts/meaning-vm/level-1/ref.cpp')
-rw-r--r-- | starts/meaning-vm/level-1/ref.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/starts/meaning-vm/level-1/ref.cpp b/starts/meaning-vm/level-1/ref.cpp deleted file mode 100644 index 8d74b50..0000000 --- a/starts/meaning-vm/level-1/ref.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include "ref.hpp" - -#include "concepts.hpp" - - -using namespace intellect; -using namespace level1; -using namespace concepts; - -std::string ref::dump(ref skipmarkertype, ref skipmarkertarget) -{ - if (linked(skipmarkertype, skipmarkertarget)) { - return {}; - } - std::string ret; - for (auto & link : links()) { - if (link.first == concepts::name) { continue; } - if (ret.size() == 0) { - ret = name() + ":\n"; - } - ret += " " + link.first.name() + ": " + link.second.name() + "\n"; - } - link(skipmarkertype, skipmarkertarget); - for (auto & link : links()) { - if (link.first == skipmarkertype && link.second == skipmarkertarget) { - continue; - } - ret += link.second.dump(skipmarkertype, skipmarkertarget); - } - return ret; -} |