コード例 #1
0
 def setUp(self):
     self.matcher = matching.PatternMatcher(matching.Filter.EMPTY)
     self.tree = ParseTreeConstructor.add_root_to_siblings('ruleset', 'newline')
     ParseTreeConstructor.add_children_to_node('declaration', 'newline', 'declaration', 'space', 'declaration',
                                               node=self.tree.value[0])
     pass