Update of /cvsroot/docstring/dps/dps/parsers
In directory usw-pr-cvs1:/tmp/cvs-serv22491/dps/dps/parsers
Modified Files:
__init__.py
Log Message:
- model.Parser -> __init__.py, with updates.
Index: __init__.py
===================================================================
RCS file: /cvsroot/docstring/dps/dps/parsers/__init__.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** __init__.py 2001/07/22 22:35:42 1.1.1.1
--- __init__.py 2002/01/30 04:49:53 1.2
***************
*** 1,3 ****
#! /usr/bin/env python
! # $Id$
! # by David Goodger (dgo...@bi...)
--- 1,27 ----
#! /usr/bin/env python
!
! """
! :Author: David Goodger
! :Contact: go...@us...
! :Revision: $Revision$
! :Date: $Date$
! :Copyright: This module has been placed in the public domain.
! """
!
! __docformat__ = 'reStructuredText'
!
!
! class Parser:
!
! def __init__(self, debug=0):
! """Initialize the Parser instance."""
! self.debug = debug
!
! def parse(self, inputstring, docroot):
! """Override to parse `inputstring` into document tree `docroot`."""
! raise NotImplementedError('subclass must override this method')
!
! def setup_parse(self, inputstring, docroot):
! """Initial setup, used by `parse()`."""
! self.inputstring = inputstring
! self.docroot = docroot
|