(self, nodes)
Generator yielding all matches for this pattern.

        Default implementation for non-wildcard patterns.
Generator yielding all matches for this pattern.
Generator yielding all matches for this pattern .
def generate_matches(self, nodes):
        """
        Generator yielding all matches for this pattern.

        Default implementation for non-wildcard patterns.
        """
        r = {}
        if nodes and self.match(nodes[0], r):
            yield 1, r
def generate_matches ( self , nodes ) : r = { } if nodes and self . match ( nodes [ 0 ] , r ) : yield 1 , r