Пример #1
0
 def __rshift__(self, rhs):
     return Parser(combinators.sequence_r(self, rhs))
Пример #2
0
 def test_parses(self):
     self.assertParse(
         combinators.sequence_r(primitives.any_, primitives.any_),
         "e", "llo", "hello")