예제 #1
0
파일: parser.py 프로젝트: rfw/kessel
 def __lshift__(self, rhs):
     return Parser(combinators.sequence_l(self, rhs))
예제 #2
0
 def test_parses(self):
     self.assertParse(
         combinators.sequence_l(primitives.any_, primitives.any_),
         "h", "llo", "hello")