class ParsedObject(object):

    def __init__(self, tokens):
        self.tokens = tokens

def queryString(self):
    """Abstract method to be overridden in subclasses"""
pyparsing one query format to another one