Annotation of parser3/src/types/pa_vjunction.h, revision 1.1

1.1     ! paf         1: /*
        !             2:        Parser
        !             3:        Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
        !             4:        Author: Alexander Petrosyan <paf@design.ru>
        !             5: 
        !             6:        $Id: pa_vjunction.h,v 1.8 2001/03/10 16:34:36 paf Exp $
        !             7: */
        !             8: 
        !             9: #ifndef PA_VJUNCTION_H
        !            10: #define PA_VJUNCTION_H
        !            11: 
        !            12: #include "pa_value.h"
        !            13: 
        !            14: class VJunction : public Value {
        !            15: public: // VJunction
        !            16: 
        !            17:        // all: for error reporting after fail(), etc
        !            18:        const char *type() const { return "junction"; }
        !            19: 
        !            20:        // fjunction: method, root,self,rcontext, code
        !            21:        Junction *get_junction() { return &fjunction; }
        !            22: 
        !            23: public: // usage
        !            24: 
        !            25:        VJunction(Junction& ajunction) : Value(ajunction.pool()),
        !            26:                fjunction(ajunction) {
        !            27:        }
        !            28: 
        !            29: private:
        !            30: 
        !            31:        Junction& fjunction;
        !            32: };
        !            33: 
        !            34: 
        !            35: #endif

E-mail: