示例#1
0
文件: parser.py 项目: rfw/kessel
 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")