Mercurial > repo
annotate interps/rail/src/Binding.h @ 12220:7eaf71f23fbe draft
<oerjan> learn \xce\xbe\xcf\x80\xce\xb1\xce\xbb\xce\xb1\xce\xb9\xce\xbf\xce\xbb\xcf\x8c\xce\xb3\xce\xbf\xcf\x82 is kspalaiologos\'s Ancient Greek twin. He was banned from the theater for making up invalid characters.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 01 Dec 2019 02:35:07 +0000 |
parents | 859f9b4339e6 |
children |
rev | line source |
---|---|
996 | 1 // Binding.h |
2 | |
3 #ifndef BINDING_H_RAIL_1 | |
4 #define BINDING_H_RAIL_1 | |
5 | |
6 class Var; | |
7 | |
8 class Binding | |
9 { | |
10 public: | |
11 Binding(); | |
12 explicit Binding(Var * newData); | |
13 ~Binding(); | |
14 | |
15 Binding(Binding const & right); | |
16 Binding & operator=(Binding const & right); | |
17 | |
18 Var * operator->(void); | |
19 Var const * operator->(void) const; | |
20 Var & operator*(void); | |
21 Var const & operator*(void) const; | |
22 | |
23 bool null(void); | |
24 private: | |
25 Var * data; | |
26 }; | |
27 | |
28 #endif |