8206:adf11836cfce | 8207:d359172d11be |
---|---|
8 """ | 8 """ |
9 | 9 |
10 from .AdBlockRule import AdBlockRuleType | 10 from .AdBlockRule import AdBlockRuleType |
11 | 11 |
12 | 12 |
13 class AdBlockSearchTreeNode(object): | 13 class AdBlockSearchTreeNode: |
14 """ | 14 """ |
15 Class implementing the AdBlock search tree node. | 15 Class implementing the AdBlock search tree node. |
16 """ | 16 """ |
17 def __init__(self): | 17 def __init__(self): |
18 """ | 18 """ |
21 self.char = '' | 21 self.char = '' |
22 self.rule = None | 22 self.rule = None |
23 self.children = {} | 23 self.children = {} |
24 | 24 |
25 | 25 |
26 class AdBlockSearchTree(object): | 26 class AdBlockSearchTree: |
27 """ | 27 """ |
28 Class implementing the AdBlock search tree. | 28 Class implementing the AdBlock search tree. |
29 """ | 29 """ |
30 def __init__(self): | 30 def __init__(self): |
31 """ | 31 """ |