Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(1)  |  Derive(1)  |  Import(2)

src/c/s/CSSCheckStyle-HEAD/ckstyle/entity/StyleSheet.py   CSSCheckStyle(Download)
from .RuleSet import RuleSet
from .ExtraStatement import ExtraStatement
from .NestedStatement import NestedStatement
from .EntityUtil import ALL
 
    def addRuleSetByStr(self, selector, attrs, comment):
        self._ruleSets.append(RuleSet(selector, attrs, comment, self))
 
    def addExtraStatement(self, operator, statement, comment):
        self._ruleSets.append(ExtraStatement(operator, statement, comment, self))

src/c/s/CSSCheckStyle-HEAD/ckstyle/entity/ExtraStatement.py   CSSCheckStyle(Download)
from .EntityUtil import Cleaner, ALL
from .RuleSet import RuleSet
 
class ExtraStatement(RuleSet):
    def __init__(self, operator, statement, comment, styleSheet = None):