Mercurial > repo
annotate interps/rail/src/Binding.h @ 12488:d0ee4187003f draft
<b_jonas> slashlearn password//The password of the month contains chemicals known to the State of California to cause cancer and birth defects or other reproductive harm.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Tue, 07 Nov 2023 13:12:53 +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 |