* Determines if a node has position-style loc information. * @param {object} node The node to check. * @returns {node is {position:SourceLocation}} `true` if the node has position-style range information, `false` if not.
(node)
| 53 | * @returns {node is {position:SourceLocation}} `true` if the node has position-style range information, `false` if not. |
| 54 | */ |
| 55 | function hasPosStyleLoc(node) { |
| 56 | return "position" in node; |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * Determines if a node has ESTree-style range information. |