Annotation of parser3/src/include/pa_vjunction.h, revision 1.6
1.1 paf 1: /*
1.6 ! paf 2: $Id: pa_vjunction.h,v 1.5 2001/03/08 17:08:13 paf Exp $
1.1 paf 3: */
4:
5: #ifndef PA_VJUNCTION_H
6: #define PA_VJUNCTION_H
7:
8: #include "pa_value.h"
9:
10: class VJunction : public Value {
11: public: // VJunction
12:
13: // all: for error reporting after fail(), etc
1.3 paf 14: const char *type() const { return "fjunction"; }
1.1 paf 15:
1.3 paf 16: // fjunction: method, root,self,rcontext, code
17: Junction *get_junction() { return &fjunction; }
1.1 paf 18:
19: public: // usage
20:
21: VJunction(Junction& ajunction) : Value(ajunction.pool()),
1.3 paf 22: fjunction(ajunction) {
1.1 paf 23: }
24:
25: private:
26:
1.3 paf 27: Junction& fjunction;
1.1 paf 28: };
29:
30:
31: #endif
E-mail: