Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/s/q/Squash-HEAD/squash/compiler.py   Squash(Download)
from .patterns import SELECTOR_PATTERN
from .classes import AttributeSet, Selector
 
 
class Compiler(object):
            for selector_string in selector_list:
                selector_string = selector_string.strip()
                selector = Selector(selector_string, attribute_set)
                if not selector_string in selectors:
                    selectors[selector_string] = selector
            for __, selector in selectors.iteritems():
                if selector.attributes.has_attribute(attribute):
                    selector = Selector(selector.name, attribute.as_set())
 
                    if attribute_selector is None: