Annotation of parser3/src/include/pa_vjunction.h, revision 1.1
1.1 ! paf 1: /*
! 2: $Id: pa_value.h,v 1.19 2001/02/23 14:18:26 paf Exp $
! 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
! 14: const char *type() const { return "Junction"; }
! 15:
! 16: // junction: method, root,self,rcontext, code
! 17: Junction *get_junction() { return &junction; }
! 18:
! 19: public: // usage
! 20:
! 21: VJunction(Junction& ajunction) : Value(ajunction.pool()),
! 22: junction(ajunction) {
! 23: }
! 24:
! 25: private:
! 26:
! 27: Junction& junction;
! 28: };
! 29:
! 30:
! 31: #endif
E-mail: