[Synopsis-changes] Synopsis/Synopsis/Synopsis/Parser/Python Parser.py,NONE,1.1 __init__.py,1.5,1.6

Stefan Seefeld stefan at synopsis.fresco.org
Thu Oct 30 05:54:38 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/Parser/Python
In directory frida:/tmp/cvs-serv8010/Synopsis/Parser/Python

Modified Files:
	__init__.py 
Added Files:
	Parser.py 
Log Message:
add Processor base class

--- NEW FILE: Parser.py ---
# $Id: Parser.py,v 1.1 2003/10/30 05:54:36 stefan Exp $
#
# Copyright (C) 2003 Stefan Seefeld
# All rights reserved.
# Licensed to the public under the terms of the GNU GPL (>= 2),
# see the file COPYING for details.
#

from Synopsis.Core.Processor import Processor
from python import parse

class Parser(Processor):

    basename=''
    
    def process(self, **kwds):
        for file in kwds['input']:
            print file
            parse(file, 0, {}, None)
#
# $Log: Parser.py,v $
# Revision 1.1  2003/10/30 05:54:36  stefan
# add Processor base class
#

Index: __init__.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Parser/Python/__init__.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -d -r1.5 -r1.6
--- __init__.py	13 Feb 2001 06:55:23 -0000	1.5
+++ __init__.py	30 Oct 2003 05:54:36 -0000	1.6
@@ -1,7 +1,20 @@
+# $Id$
+#
+# Copyright (C) 2003 Stefan Seefeld
+# All rights reserved.
+# Licensed to the public under the terms of the GNU GPL (>= 2),
+# see the file COPYING for details.
+#
+
 """Parser for Python based around Python's docstring extraction example"""
 # Python parser
 
 from python import parse, usage, get_synopsis
-
+from Parser import Parser
 
 # THIS-IS-A-PARSER
+#
+# $Log$
+# Revision 1.6  2003/10/30 05:54:36  stefan
+# add Processor base class
+#





More information about the Synopsis-changes mailing list