Parse query string using given grammar

def parse_query(self, query):
        """Parse query string using given grammar"""
        tree = pypeg2.parse(query, Main, whitespace="")
        return tree.accept(self.converter)