예제 #1
0
 def interpret(self, match):
     author = NameOf(IsPerson() + AuthorOf(match.book))
     return author, "literal"
예제 #2
0
 def interpret(self, match):
     _book, i, j = match.book
     author = NameOf(IsPerson() + AuthorOf(_book))
     return author, ReturnValue(i, j)