[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser - queryparser.py:1.1.2.4
Andreas Jung
andreas@digicool.com
Tue, 15 Jan 2002 22:00:06 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser
In directory cvs.zope.org:/tmp/cvs-serv19504
Modified Files:
Tag: ajung-textindexng-branch
queryparser.py
Log Message:
- now subclassing from Stack
=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser/queryparser.py 1.1.2.3 => 1.1.2.4 ===
+
##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
@@ -19,10 +21,10 @@
import TextIndexG
+from Stack import Stack
-
-class QueryParser:
+class QueryParser(Stack):
"""Query parser takes a TextIndexNG query strings and transforms it
into a Python expression to be evaluated.
@@ -34,6 +36,8 @@
def __init__(self):
+
+ Stack.__init__(self)
self.TextIndexG = TextIndexG.GRAMMAR()