Changeset 100 for trunk/src/bitlex.h


Ignore:
Timestamp:
Apr 14, 2008, 6:34:30 PM (11 years ago)
Author:
lindanl
Message:

Parsers for internal and external entities.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bitlex.h

    r72 r100  
    6060class Lexer_Interface {
    6161public:
    62         Lexer_Interface(Model_Info * m, LexicalStreamSet *l);
     62        Lexer_Interface(Entity_Info * e, LexicalStreamSet *l);
    6363        ~Lexer_Interface();
    6464        void AnalyzeBuffer(BitBlockBasis * x8basis, int buffer_limit_pos);
    6565
    6666protected:
    67         Model_Info * model_info;
     67        Entity_Info * entity_Info;
    6868        virtual void Do_XML_10_WS_Control() = 0;
    6969        virtual void Do_MarkupStreams() = 0;
     
    8181class Lexer : public Lexer_Interface {
    8282public:
    83         static Lexer_Interface * LexerFactory(Model_Info * m,LexicalStreamSet *l);
     83        static Lexer_Interface * LexerFactory(Entity_Info * e,LexicalStreamSet *l);
    8484
    8585protected:
    86         Lexer(Model_Info * m,LexicalStreamSet *l);
     86        Lexer(Entity_Info * e,LexicalStreamSet *l);
    8787        void Do_XML_10_WS_Control();
    8888        void Do_MarkupStreams();
     
    9393class UTF_8_Lexer : public Lexer<ASCII> {
    9494public:
    95         UTF_8_Lexer(Model_Info * m,LexicalStreamSet *l);
     95        UTF_8_Lexer(Entity_Info * e,LexicalStreamSet *l);
    9696        void Do_XML_11_WS_Control();
    9797        void Do_CharsetValidation();
     
    100100class ASCII_7_Lexer : public Lexer<ASCII> {
    101101public:
    102         ASCII_7_Lexer(Model_Info * m,LexicalStreamSet *l);
     102        ASCII_7_Lexer(Entity_Info * e,LexicalStreamSet *l);
    103103        void Do_XML_11_WS_Control();
    104104        void Do_CharsetValidation();
     
    107107class EASCII_8_Lexer : public Lexer<ASCII> {
    108108public:
    109         EASCII_8_Lexer(Model_Info * m,LexicalStreamSet *l);
     109        EASCII_8_Lexer(Entity_Info * e,LexicalStreamSet *l);
    110110        void Do_XML_11_WS_Control();
    111111        void Do_CharsetValidation();
     
    118118class U16_Lexer : public Lexer<ASCII> {
    119119public:
    120         U16_Lexer(Model_Info * m,LexicalStreamSet *l);
     120        U16_Lexer(Entity_Info * e,LexicalStreamSet *l);
    121121        void Do_XML_11_WS_Control();
    122122        virtual void Do_CharsetValidation() = 0;
     
    125125class UTF_16_Lexer : public U16_Lexer {
    126126public:
    127         UTF_16_Lexer(Model_Info * m,LexicalStreamSet *l);
     127        UTF_16_Lexer(Entity_Info * e,LexicalStreamSet *l);
    128128        void Do_CharsetValidation();
    129129};
     
    131131class UCS_2_Lexer : public U16_Lexer {
    132132public:
    133         UCS_2_Lexer(Model_Info * m,LexicalStreamSet *l);
     133        UCS_2_Lexer(Entity_Info * e,LexicalStreamSet *l);
    134134        void Do_CharsetValidation();
    135135};
     
    137137class UTF_32_Lexer : public Lexer<ASCII> {
    138138public:
    139         UTF_32_Lexer(Model_Info * m,LexicalStreamSet *l);
     139        UTF_32_Lexer(Entity_Info * e,LexicalStreamSet *l);
    140140        void Do_XML_11_WS_Control();
    141141        void Do_CharsetValidation();
     
    144144class EBCDIC_Lexer: public Lexer<EBCDIC> {
    145145public:
    146         EBCDIC_Lexer(Model_Info * m,LexicalStreamSet *l);
     146        EBCDIC_Lexer(Entity_Info * e,LexicalStreamSet *l);
    147147        void Do_XML_11_WS_Control();
    148148        void Do_CharsetValidation();
Note: See TracChangeset for help on using the changeset viewer.