Ignore:
Timestamp:
Oct 16, 2008, 1:44:53 PM (11 years ago)
Author:
ksherdy
Message:

SVG Open 2008 version.

Location:
branches/gml2svg_parabix
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/gml2svg_parabix

    • Property svn:ignore
      •  

        old new  
        11.project
         2.cdtproject
         3.cproject
         4cc_analyzer.cxx
  • branches/gml2svg_parabix/src/engine.h

    r188 r199  
    4747        /* Co-classes */
    4848
    49         Byteplex * byteplex;   
     49        Byteplex * byteplex;
    5050        Bitplex * bitplex;
    5151        Lexer_Interface * lexer;
     
    5353        BytePack * x8data;
    5454        LexicalStreamSet * buf;
    55                
     55
    5656        int buffer_base_pos;
    5757        int buffer_rel_pos;
    5858        int buffer_limit_pos;
    59        
     59
    6060};
    6161
     
    7171        vector<int> LastAttOccurrence;
    7272        XML_Decl_Parser<B::Base> * decl_parser;
    73        
     73
    7474        int text_or_markup_start;
    7575        /* Getters for current point/position information. */
     
    9494        void Validity_Error (XML_Constraint errCode);
    9595        void Syntax_Error (XML_NonTerminal errNT);
    96        
     96
    9797        void Parse_Comment ();
    9898        void Parse_StartTag ();
     
    100100        void Parse_CDATA ();
    101101        void Parse_PI ();
    102         void Parse_CharRef (); 
     102        void Parse_CharRef ();
    103103        void Parse_EntityRef ();
    104104        void Parse_EntityRef_inMixed(symbol_set_t elems);
    105105        void Parse_EntityRef_inAnyContent();
    106        
     106
    107107        /* Parsing routine for Document Type*/
    108108        void Parse_DocType ();
     
    130130        void Parse_Prolog();
    131131        void Parse_DocumentContent();
    132        
     132
    133133        void Parse_WF_Element();
    134134        void Parse_WF_Content();
     
    141141        void Parse_AnyContent();
    142142        void Parse_MixedContent(symbol_set_t elems);
    143        
     143
    144144        int Parse_ValidStartTag(bool& is_empty);
    145        
     145
    146146        int Parse_Nmtoken();
    147         int Parse_Name(); 
    148        
     147        int Parse_Name();
     148
    149149        /*Parsing routine for external entities*/
    150150        void Parse_ExtSubsetDecl ();
    151        
     151
    152152        /* Action routine for document start. */
    153         void DocumentStart_action();   
    154        
     153        void DocumentStart_action();
     154
    155155        /* Action routine for document end. */
    156156        void DocumentEnd_action();
    157        
     157
    158158        /* Action routine for an XML comment in "<!--"  "-->" brackets. */
    159159        void Comment_action(unsigned char * item, int lgth);
    160        
     160
    161161        /* Action routine called upon recognizing "<![CDATA[" to start a CDATA section. */
    162162        void CDATA_start_action(unsigned char * CDATA_ptr);
     
    164164        /* Action routine called upon recognizing "]]>" to end a CDATA section. */
    165165        void CDATA_end_action(unsigned char * CDATA_end_ptr);
    166        
     166
    167167        /* Action routine for an XML processing instruction enclosed in "<?" and "?>" brackets. */
    168168        void PI_action(unsigned char * item, int lgth);
    169        
     169
    170170        /* Action routine for an empty element enclosed in "<" and "/>" brackets. */
    171171        void EmptyElement_action(unsigned char * item, int lgth);
    172        
     172
    173173        /* Action routine for a start tag enclosed in "<" and ">" brackets. */
    174174        void StartTag_action(unsigned char * item, int lgth);
    175        
     175
    176176        /* Action routine for an end tag enclosed in "</" and ">" brackets. */
    177177        void EndTag_action(unsigned char * item, int lgth);
    178        
     178
    179179        /* Action routine for an error item */
    180180        void Error_action(unsigned char * item, int lgth);
    181        
     181
    182182        /* Action routine for a text item */
    183183        void Text_action(unsigned char * item, int lgth, bool more);
    184        
     184
    185185        /* Action routine for a character or entity reference.*/
    186186        void Reference_action(unsigned char * item, int lgth);
    187        
    188         /* Action routine for an element name occurring immediately after the 
     187
     188        /* Action routine for an element name occurring immediately after the
    189189        opening "<" of a start tag or empty element tag. */
    190190        void ElementName_action(unsigned char * item, int lgth);
    191        
    192         /* Action routine for a processing instruction target name occurring immediately 
     191
     192        /* Action routine for a processing instruction target name occurring immediately
    193193        after the opening "<?" of a processing instruction. */
    194194        void PI_Target_action(unsigned char * item, int lgth);
    195        
     195
    196196        /* Action routine for an individual attribute/value pair occurring in
    197197        a element start tag or an empty element tag. */
    198         void AttributeValue_action(unsigned char * name, int name_lgth, 
     198        void AttributeValue_action(unsigned char * name, int name_lgth,
    199199                                   unsigned char * val, int val_lgth);
    200        
     200
    201201        /* Action routine for an individual namespace binding occurring in
    202202        a element start tag or an empty element tag. */
    203         void Namespace_action(unsigned char * name, int name_end, 
     203        void Namespace_action(unsigned char * name, int name_end,
    204204                              unsigned char * URI, int URI_end);
    205        
     205
    206206        /*Action routine for end of buffer events. */
    207207        void FinalizeBuffer_action();
    208        
     208
    209209        /*Document Type actions.*/
    210210        void Doctype_action(unsigned char * item, int lgth);
    211211        void PEReference_action(unsigned char * item, int lgth);
    212        
     212
    213213        void Prolog_action(unsigned char * item, int lgth);
    214        
     214
    215215        void ExtSubsetDecl_action(unsigned char * item, int lgth);
     216
     217        void ilax_coords_to_path(char ts, char cs, char decimal);
    216218};
    217219
Note: See TracChangeset for help on using the changeset viewer.