Annotation of parser3/src/types/pa_vcode_frame.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> (http://design.ru/paf)
        !             5: 
        !             6:        $Id: pa_vcframe.h,v 1.3 2001/03/16 11:10:21 paf Exp $
        !             7: */
        !             8: 
        !             9: #ifndef PA_VCODE_FRAME_H
        !            10: #define PA_VCODE_FRAME_H
        !            11: 
        !            12: #include "pa_wwrapper.h"
        !            13: #include "pa_vunknown.h"
        !            14: 
        !            15: class VCodeFrame : public WWrapper {
        !            16: public: // Value
        !            17: 
        !            18:        // all: for error reporting after fail(), etc
        !            19:        const char *type() const { return "code_frame"; }
        !            20: 
        !            21: public: // WContext
        !            22: 
        !            23:        // codeframe: intercepting string writes 
        !            24:        void write(const String& astring, String::Untaint_lang lang) {
        !            25:                fstring.append(astring, lang);
        !            26:        }
        !            27: 
        !            28: public: // usage
        !            29: 
        !            30:        VCodeFrame(Pool& apool, WContext& awcontext) : 
        !            31:                WWrapper(apool, &awcontext, awcontext.constructing()) {
        !            32:        }
        !            33: 
        !            34: };
        !            35: 
        !            36: #endif

E-mail: