def interpret(self, match): _movie, i, j = match.movie duration = DurationOf(_movie) return duration, ReturnValue(i, j)
def interpret(self, match): duration = DurationOf(match.movie) print(duration.__dict__) return duration, ("literal", "{} minutes long")
def interpret(self, match): duration = DurationOf(match.movie) duration.tables = ["movies"] return duration, ("literal", "{} minutes long")