Exemplo n.º 1
0
Arquivo: parser.py Projeto: rfw/kessel
 def __rshift__(self, rhs):
     return Parser(combinators.sequence_r(self, rhs))
Exemplo n.º 2
0
 def test_parses(self):
     self.assertParse(
         combinators.sequence_r(primitives.any_, primitives.any_),
         "e", "llo", "hello")