( elements: (null | t.PatternLike)[], )
| 968 | return node; |
| 969 | } |
| 970 | export function arrayPattern( |
| 971 | elements: (null | t.PatternLike)[], |
| 972 | ): t.ArrayPattern { |
| 973 | const node: t.ArrayPattern = { |
| 974 | type: "ArrayPattern", |
| 975 | elements, |
| 976 | }; |
| 977 | const defs = NODE_FIELDS.ArrayPattern; |
| 978 | validate(defs.elements, node, "elements", elements, 1); |
| 979 | return node; |
| 980 | } |
| 981 | export function arrowFunctionExpression( |
| 982 | params: t.FunctionParameter[], |
| 983 | body: t.BlockStatement | t.Expression, |
nothing calls this directly
no test coverage detected