Annotation of parser3/src/include/pa_vcframe.h, revision 1.1

1.1     ! paf         1: /*
        !             2:   $Id: pa_vframe.h,v 1.5 2001/02/24 09:56:02 paf Exp $
        !             3: */
        !             4: 
        !             5: #ifndef PA_VCFRAME_H
        !             6: #define PA_VCFRAME_H
        !             7: 
        !             8: #include "pa_wwrapper.h"
        !             9: #include "pa_vunknown.h"
        !            10: 
        !            11: class VCodeFrame : public WWrapper {
        !            12: public: // Value
        !            13: 
        !            14:        // all: for error reporting after fail(), etc
        !            15:        const char *type() const { return "CodeFrame"; }
        !            16: 
        !            17:        // codeframe: accumulated string
        !            18:        String *get_string() { return string_wcontext.get_string(); };
        !            19: 
        !            20: public: // WContext
        !            21: 
        !            22:        // codeframe: intercepting string writes 
        !            23:        void write(String *astring);
        !            24: 
        !            25: public: // usage
        !            26: 
        !            27:        VCodeFrame(Pool& apool, WContext& awcontext) : WWrapper(apool, &awcontext),
        !            28:                string_wcontext(apool, 0 /* value not used, only write(string) */ ) {
        !            29:        }
        !            30: 
        !            31: public:
        !            32:        
        !            33:        WContext string_wcontext;
        !            34: 
        !            35: };
        !            36: 
        !            37: #endif

E-mail: