( source: string, call: Span )
| 1751 | const pureAnnotated = /\/\*\s*[#@]__PURE__\s*\*\/\s*$/ |
| 1752 | |
| 1753 | export const pureAnnotationOf = ( |
| 1754 | source: string, |
| 1755 | call: Span |
| 1756 | ): string | undefined => |
| 1757 | pureAnnotated.exec( |
| 1758 | source.slice(Math.max(0, call.start - 32), call.start) |
| 1759 | )?.[0] |
| 1760 | |
| 1761 | export const statementOf = (node: Node): Node => { |
| 1762 | while (node.parent && node.parent.type !== "Program") node = node.parent |
no test coverage detected