Annotation of parser3/src/types/pa_vjunction.h, revision 1.7
1.3 paf 1: /** @file
1.4 paf 2: Parser: @b junction class decl.
1.3 paf 3:
1.1 paf 4: Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
1.2 paf 5: Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
1.1 paf 6:
1.7 ! parser 7: $Id: pa_vjunction.h,v 1.6 2001/05/07 14:00:54 paf Exp $
1.1 paf 8: */
9:
10: #ifndef PA_VJUNCTION_H
11: #define PA_VJUNCTION_H
12:
13: #include "pa_value.h"
14:
1.4 paf 15: /// junction is method+self+context, implemented with Junction
1.1 paf 16: class VJunction : public Value {
17: public: // VJunction
18:
19: const char *type() const { return "junction"; }
20:
1.5 paf 21: /// VJunction: method, root,self,rcontext, code
1.1 paf 22: Junction *get_junction() { return &fjunction; }
23:
24: public: // usage
25:
26: VJunction(Junction& ajunction) : Value(ajunction.pool()),
27: fjunction(ajunction) {
28: }
29:
30: private:
31:
32: Junction& fjunction;
33: };
34:
35:
36: #endif
E-mail: