Changeset 160 for trunk/src/engine.h


Ignore:
Timestamp:
Jun 20, 2008, 3:30:40 PM (11 years ago)
Author:
lindanl
Message:

Restructured character set architecture; StringPool? in symbol table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.h

    r156 r160  
    5959};
    6060
    61 template <CodeUnit_Base C>
     61template <class B>
    6262class ParsingEngine : public Parser_Interface {
    6363public:
     
    6969
    7070        vector<int> LastAttOccurrence;
    71         XML_Decl_Parser<C> * decl_parser;
     71        XML_Decl_Parser<B::Base> * decl_parser;
    7272       
    7373        int text_or_markup_start;
     
    7777        int BufferRelPos() const;
    7878        unsigned char * cur() const;
     79        unsigned char * GetCodeUnitPtr(int pos);
    7980
    8081        bool at_EOF () const;
     
    131132        void Parse_WF_Content();
    132133        int Parse_WF_StartTag(bool& is_empty);
    133         void Parse_WF_EndTag(int nameID);       
     134        void Parse_WF_EndTag(int nameID);
    134135
    135136        void Parse_ValidEntityRef(CM_RegExp * cre, int & cur_state);
     
    141142        int Parse_ValidStartTag(bool& is_empty);
    142143       
    143         int Parse_Name();
     144        int Parse_Name(); 
    144145       
    145146        /*Parsing routine for external entities*/
Note: See TracChangeset for help on using the changeset viewer.