def interpret(self, match): #print(dir(match), match.director, match.words) movie = IsMovie() + DirectedBy(match.director) movie_name = NameOf(movie) print(movie_name) return movie_name, "enum"
def interpret(self, match): _director, i, j = match.director movie = IsMovie() + DirectedBy(_director) movie_name = LabelOf(movie) return movie_name, ReturnValue(i, j)
def interpret(self, match): movie = IsMovie() + DirectedBy(match.director) movie_name = LabelOf(movie) return movie_name, "enum"