Did I find the right examples for you? yes no

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

src/p/r/Products.ZCTextIndex-2.13.5/src/Products/ZCTextIndex/QueryParser.py   Products.ZCTextIndex(Download)
            tree = ParseTree.PhraseNode(words)
        elif self._lexicon.isGlob(words[0]):
            tree = ParseTree.GlobNode(words[0])
        else:
            tree = ParseTree.AtomNode(words[0])

src/p/r/Products.ZCTextIndex-2.13.5/src/Products/ZCTextIndex/tests/testQueryParser.py   Products.ZCTextIndex(Download)
    def compareParseTrees(self, got, expected, msg=None):
        from Products.ZCTextIndex.ParseTree import AndNode
        from Products.ZCTextIndex.ParseTree import AtomNode
        from Products.ZCTextIndex.ParseTree import GlobNode
        from Products.ZCTextIndex.ParseTree import NotNode
    def test022(self):
        from Products.ZCTextIndex.ParseTree import GlobNode
        self.expect("foo*", GlobNode("foo*"))
 
    def test023(self):
        from Products.ZCTextIndex.ParseTree import AndNode
        from Products.ZCTextIndex.ParseTree import AtomNode
        from Products.ZCTextIndex.ParseTree import GlobNode
        self.expect("foo* bar", AndNode([GlobNode("foo*"),

src/p/r/Products.ZCTextIndex-2.13.5/src/Products/ZCTextIndex/tests/testParseTree.py   Products.ZCTextIndex(Download)
    def test_GlobNode_conforms_to_IQueryParseTree(self):
        from Products.ZCTextIndex.ParseTree import GlobNode
        self._conforms(GlobNode)
 
    def test_AtomNode_conforms_to_IQueryParseTree(self):