code: function transformPatternCall (context: ConversionContext, path: NodePath) {
    const args = path.get('arguments');
  
    const collected = collectClauses(context, args);
    if (!collected) {
      return;
    }
    const [collectedParams, collectedBlocks, errorClause] = collected;
  
    const pattern = makePattern(context, path, collectedParams, collectedBlocks, errorClause);
    if (pattern) {
      context.replacePath(path, pattern);
    }
  }
docs: Transform a call to `t.pattern()` into an inline function (if possible)