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