code: def stmt_lambdef_handle(self, original, loc, tokens):
          
          if len(tokens) == 2:
              params, stmts = tokens
          elif len(tokens) == 3:
              params, stmts, last = tokens
              if "tests" in tokens:
                  stmts = stmts.asList() + ["return " + last]
              else:
                  stmts = stmts.asList() + [last]
          else:
              raise CoconutInternalException("invalid statement lambda tokens", tokens)
          name = self.stmt_lambda_name()
          body = openindent + self.stmt_lambda_proc("\n".join(stmts)) + closeindent
          if isinstance(params, str):
              self.stmt_lambdas.append(
                  "def " + name + params + ":\n" + body,
              )
          else:
              params.insert(0, name)  # construct match tokens
              self.stmt_lambdas.append(
                  "".join(self.name_match_funcdef_handle(original, loc, params))
                  + body,
              )
          return name
docs: Process multi-line lambdef statements.