diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-11-25 17:36:41 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-11-25 17:36:41 -0800 |
commit | 59a4cccd495e925703dbbce74e733efd8e453f16 (patch) | |
tree | ddf7708867beb233feaf518888786160a64e1df1 /starts/meaning-vm/level-1/baseref.hpp | |
parent | 8172f109ed55b8a02e7e498566b7ba12e346f7e2 (diff) | |
download | standingwithresilience-59a4cccd495e925703dbbce74e733efd8e453f16.tar.gz standingwithresilience-59a4cccd495e925703dbbce74e733efd8e453f16.zip |
add isanonymous, movetoname, decl[s], and nothing concept
Diffstat (limited to 'starts/meaning-vm/level-1/baseref.hpp')
-rw-r--r-- | starts/meaning-vm/level-1/baseref.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/starts/meaning-vm/level-1/baseref.hpp b/starts/meaning-vm/level-1/baseref.hpp index 2f072b6..01026c8 100644 --- a/starts/meaning-vm/level-1/baseref.hpp +++ b/starts/meaning-vm/level-1/baseref.hpp @@ -23,6 +23,8 @@ struct baseref : public level0::baseref<ref> operator std::string const &() const { return getname(self)->data; } operator char const *() const { return getname(self)->data.c_str(); } + ref operator-(ref other) { return hyphenate(self.ptr(), other.ptr()); } + std::string dump(ref skipmarkertype, ref skipmarkertarget); }; |