summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-0/ref.hpp
blob: 87a37c6ae75d5c2e17af5aee147875ff68c6c499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "common.hpp"
#include "baseref.hpp"

#include <string>

namespace intellect {
namespace level0 {

struct ref : public baseref<ref, vref, concept>
{
	ref(concept *p) : baseref(p) { }
	ref & operator=(ref const & other) { self.p = other.p; return self; }

	ref & l0() { return self; }
	ref const & l0() const { return self; }

	std::string dump(ref skipmarkertype, ref skipmarkertarget);
};

}
}