title: How is this nested Groovy statement interpreted in terms of the arguments of `timeout()`?
body: <p>What syntax/construct is used in the following Groovy code? It seems like two statements nested inside each other.</p>
  <p>What are the arguments of the <code>timeout()</code> function in the following code? It is a function or a reserved word?</p>
  <p>Is the <code>input(...)</code> statement a Groovy &quot;Closure&quot;? Is it a third argument of the function <code>timeout</code>?</p>
  <pre><code>    timeout(time: 5, unit: 'MINUTES') {
          input(message: 'Please approve')
      }
  </code></pre>