Called when we encounter a new tag. All the unprocessed data since the last tag is passed to this method. Dummy method to override. Just returns the data unchanged.
(self, inchunk)
| 144 | # They are intended to be overridden in subclasses. |
| 145 | |
| 146 | def pdata(self, inchunk): |
| 147 | """Called when we encounter a new tag. All the unprocessed data since the last tag is passed to this method. |
| 148 | Dummy method to override. Just returns the data unchanged.""" |
| 149 | return inchunk |
| 150 | |
| 151 | def pdecl(self): |
| 152 | """Called when we encounter the *start* of a declaration or comment. <!.... |