Changeset 49 for trunk/src/engine.h


Ignore:
Timestamp:
Feb 16, 2008, 7:37:20 AM (11 years ago)
Author:
cameron
Message:

Make ilax actions into ParsingEngine? methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.h

    r37 r49  
    6868        void Parse_PI ();
    6969        void Parse_Reference ();
     70       
     71        /* Action routines. */
     72        /* Action routine for an XML comment in "<!--"  "-->" brackets. */
     73        void Comment_action(int start_pos, int end_pos);
     74       
     75        /* Action routine for a CDATA section enclosed in "<![CDATA[" and "]]>" brackets. */
     76        void CDATA_action(int start_pos, int end_pos);
     77       
     78        /* Action routine for an XML processing instruction enclosed in "<?" and "?>" brackets. */
     79        void PI_action(int start_pos, int end_pos);
     80       
     81        /* Action routine for an empty element enclosed in "<" and "/>" brackets. */
     82        void EmptyElement_action(int start_pos, int end_pos);
     83       
     84        /* Action routine for a start tag enclosed in "<" and ">" brackets. */
     85        void StartTag_action(int start_pos, int end_pos);
     86       
     87        /* Action routine for an end tag enclosed in "</" and ">" brackets. */
     88        void EndTag_action(int start_pos, int end_pos);
     89       
     90        /* Action routine for an error item */
     91        void Error_action(int start_pos, int end_pos);
     92       
     93        /* Action routine for a text item */
     94        void Text_action(int start_pos, int end_pos);
     95       
     96        /* Action routine for a character or entity reference.*/
     97        void Reference_action(int start_pos, int end_pos);
     98       
     99        /* Action routine for an element name occurring immediately after the
     100        opening "<" of a start tag or empty element tag. */
     101        void ElementName_action(int start_pos, int end_pos);
     102       
     103        /* Action routine for a processing instruction target name occurring immediately
     104        after the opening "<?" of a processing instruction. */
     105        void PI_Target_action(int start_pos, int end_pos);
     106       
     107        /* Action routine for an individual attribute/value pair occurring in
     108        a element start tag or an empty element tag. */
     109        void AttributeValue_action(int name_start, int name_end,
     110                                        int val_start, int val_end);
     111       
     112        /* Action routine for an individual namespace binding occurring in
     113        a element start tag or an empty element tag. */
     114        void Namespace_action(int name_start, int name_end,
     115                                int URI_start, int URI_end);
     116       
     117        void FinalizeBuffer_action();
    70118
    71119};
Note: See TracChangeset for help on using the changeset viewer.