Last change
on this file since 147 was
147,
checked in by orlov, 18 years ago
|
First working version after rewriting pxx
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.3 KB
|
Line | |
---|
1 | // |
---|
2 | // Copyright (C) 2000 Refal+ Development Group |
---|
3 | // |
---|
4 | // Refal+ is free software; you can redistribute it and/or modify |
---|
5 | // it under the terms of the GNU General Public License as published by |
---|
6 | // the Free Software Foundation; either version 2 of the License, or |
---|
7 | // (at your option) any later version. |
---|
8 | // |
---|
9 | // Refal+ is distributed in the hope that it will be useful, |
---|
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | // GNU General Public License for more details. |
---|
13 | // |
---|
14 | // You should have received a copy of the GNU General Public License |
---|
15 | // along with Refal+; if not, write to the Free Software |
---|
16 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
17 | // |
---|
18 | // $Source$ |
---|
19 | // $Revision: 147 $ |
---|
20 | // $Date: 2002-09-01 00:16:12 +0000 (Sun, 01 Sep 2002) $ |
---|
21 | // Author: Andrey Slepuhin <pooh@msu.ru> |
---|
22 | |
---|
23 | #ifndef __rf_arg_hh__ |
---|
24 | #define __rf_arg_hh__ |
---|
25 | |
---|
26 | #include "rf_expr.hh" |
---|
27 | |
---|
28 | namespace rfrt |
---|
29 | { |
---|
30 | |
---|
31 | class Arg : |
---|
32 | public Expr |
---|
33 | { |
---|
34 | |
---|
35 | private: |
---|
36 | |
---|
37 | inline Arg (Arg const&) : |
---|
38 | Expr () |
---|
39 | { |
---|
40 | FATAL("Private constructor Arg(Arg const&) should never be called"); |
---|
41 | } |
---|
42 | |
---|
43 | inline Arg& operator = (Arg const&) |
---|
44 | { |
---|
45 | FATAL("Private operator = Arg(Arg const&) should never be called"); |
---|
46 | return *this; |
---|
47 | } |
---|
48 | |
---|
49 | public: |
---|
50 | |
---|
51 | inline Arg () : |
---|
52 | Expr (stack.get()) |
---|
53 | {} |
---|
54 | |
---|
55 | inline ~Arg () |
---|
56 | {} |
---|
57 | |
---|
58 | }; |
---|
59 | |
---|
60 | } |
---|
61 | |
---|
62 | #endif // __rf_arg_hh__ |
---|
Note: See
TracBrowser
for help on using the repository browser.