({ name, regexp, transformer, useForSnippets, preferForRegexpMatch })
| 89 | } |
| 90 | |
| 91 | const buildParameterType = ({ name, regexp, transformer, useForSnippets, preferForRegexpMatch }) => { |
| 92 | if (typeof useForSnippets !== 'boolean') useForSnippets = true |
| 93 | if (typeof preferForRegexpMatch !== 'boolean') preferForRegexpMatch = false |
| 94 | return new ParameterType(name, regexp, null, transformer, useForSnippets, preferForRegexpMatch) |
| 95 | } |
| 96 | |
| 97 | // Create wrapper functions that capture the call context |
| 98 | const createStepFunction = stepType => { |
no outgoing calls
no test coverage detected