PyZ3950/c2query
index
/home/asl2/src/PyZ2/PyZ3950/PyZ3950/c2query.py

#!/usr/local/bin/python2.3

 
Modules
            
PyZ3950.oids
PyZ3950.z3950
 
Classes
            
C2Parser
 
class C2Parser
       
   Methods defined here:
__init__(self, l)
boolean(self)
clause(self)
fetch_token(self)
is_boolean(self, tok=None)
query(self)
subquery(self)
top(self)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'PyZ3950/c2query'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
currentToken = None
lexer = None
nextToken = None
 
Functions
            
StringIO(...)
StringIO([s]) -- Return a StringIO-like stream for reading or writing
 
Data
             __file__ = './PyZ3950/c2query.pyc'
__name__ = 'PyZ3950/c2query'
booleans = {'!!': 'and-not', '&&': 'and', '.AND.': 'and', '.ANDNOT.': 'and-not', '.NOT.': 'and-not', '.OR.': 'or', 'AND': 'and', 'ANDNOT': 'and-not', 'NOT': 'and-not', 'OR': 'or', ...}
geoRelations = {'!.#.': 13, '+-+': 11, '.#.': 12, '.AFTER.': 18, '.BEFORE.': 14, '.BEFORE_OR_DURING.': 15, '.DURING.': 16, '.DURING_OR_AFTER.': 17, '.ENCLOSES.': 9, '.FULLY_ENCLOSED_WITHIN.': 8, ...}
privateBooleans = {'!FUZZY_AND': 1, '!FUZZY_NOT': 3, '!FUZZY_OR': 2, '!MERGE_MEAN': 7, '!MERGE_NORM': 8, '!MERGE_SUM': 6, '!RESTRICT_FROM': 4, '!RESTRICT_TO': 5}
proxBooleans = {'!ADJ': (2, 0, 2), '!FAR': (20, 0, 4), '!NEAR': (20, 0, 2), '!OADJ': (2, 1, 2), '!OFAR': (20, 1, 4), '!ONEAR': (20, 1, 2), '!OPROX': (2, 1, 2), '!PROX': (2, 0, 2)}
proxUnits = {'BYTE': 11, 'C': 1, 'CHAPTER': 6, 'CHAR': 1, 'DOCUMENT': 7, 'ELEMENT': 8, 'ELEMENTTYPE': 10, 'P': 4, 'PARA': 4, 'PARAGRAPH': 4, ...}
relations = {'!=': 6, '%': 101, '.GE.': 4, '.GT.': 5, '.LE.': 2, '.LT.': 1, '.NE.': 6, '.PHON.': 100, '.REL.': 102, '.STEM.': 101, ...}
xzconfig = <PyZ3950.CQLUtils.ZCQLConfig instance>
zconfig = <PyZ3950.CQLUtils.ZCQLConfig instance>